Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build releases
on: push
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write # for attestation
attestations: write # for attestation
env:
RELEASE_REF: refs/heads/master # pushes to this branch are treated as public releases
steps:
- name: Fetch code
uses: actions/checkout@v4
with:
fetch-tags: false

- name: Add build environment
uses: Pathoschild/SMAPI-ModBuildWorkflow/add-build-environment@v1

- name: Set prerelease versions
uses: Pathoschild/SMAPI-ModBuildWorkflow/set-prerelease-versions@v1
if: github.ref != env.RELEASE_REF

- name: Build mods
run: dotnet build --configuration Release

- name: Upload release zips
uses: Pathoschild/SMAPI-ModBuildWorkflow/upload-release-artifacts@v1
with:
create_attestations: ${{github.ref == env.RELEASE_REF}}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -434,3 +434,6 @@ __pycache__/

# End of https://www.gitignore.io/api/csharp,visualstudio
.DS_Store

# Build output from the GitHub Actions release workflow
_releases/
4 changes: 2 additions & 2 deletions BetterJunimos/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
{
"Name": "Better Junimos",
"Author": "ceruleandeep",
"Version": "3.1.2",
"Version": "%ProjectVersion%",
"Description": "Allow your Junimos (from Junimo huts) to automatically plant seeds, fertilize, and so much more!",
"UniqueID": "hawkfalcon.BetterJunimos",
"EntryDll": "BetterJunimos.dll",
Expand Down
3 changes: 2 additions & 1 deletion CustomQuestExpiration/CustomQuestExpiration.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
<RootNamespace>CustomQuestExpiration</RootNamespace>
<LangVersion>latest</LangVersion>
<TargetFramework>net6.0</TargetFramework>
<Version>1.2.0</Version>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.1.1" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.4.0" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions CustomQuestExpiration/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
{
"Name": "Custom Quest Expiration",
"Author": "hawkfalcon",
"Version": "1.2.0",
"Version": "%ProjectVersion%",
"Description": "Change the Daily Quest expiration (make it never expire, expire after 5 days, etc)",
"UniqueID": "hawkfalcon.CustomQuestExpiration",
"EntryDll": "CustomQuestExpiration.dll",
Expand Down
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<PropertyGroup>
<ModZipPath>$(MSBuildThisFileDirectory)/_releases</ModZipPath>
</PropertyGroup>
</Project>
3 changes: 2 additions & 1 deletion TillableGround/TillableGround.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
<RootNamespace>TillableGround</RootNamespace>
<LangVersion>latest</LangVersion>
<TargetFramework>net6.0</TargetFramework>
<Version>2.1.0</Version>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.1.1" />
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.4.0" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions TillableGround/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
{
"Name": "Tillable Ground",
"Author": "hawkfalcon",
"Version": "2.1.0",
"Version": "%ProjectVersion%",
"Description": "Make any tile tillable (so you can use your hoe on it)",
"UniqueID": "hawkfalcon.TillableGround",
"EntryDll": "TillableGround.dll",
Expand Down
Loading