Skip to content

Commit 8566a98

Browse files
committed
fix CI
1 parent 3fdea5f commit 8566a98

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [ "push", "pull_request" ]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88
steps:
99
- uses: actions/checkout@v4
1010
with:
@@ -13,14 +13,20 @@ jobs:
1313
- name: Setup .NET
1414
uses: actions/setup-dotnet@v4
1515
with:
16-
dotnet-version: 6.x
16+
dotnet-version: 8.0.x
1717

1818
- name: Run the Cake script
19-
uses: cake-build/cake-action@v2
19+
uses: cake-build/cake-action@v3
2020
with:
2121
verbosity: Diagnostic
2222

2323
- uses: actions/upload-artifact@v4
2424
with:
2525
name: SmolMod.dll
26-
path: SmolMod/bin/Release/net6.0/SmolMod.dll
26+
path: SmolMod/bin/Release/SmolMod.dll
27+
28+
- uses: softprops/action-gh-release@v2
29+
if: github.ref_type == 'tag'
30+
with:
31+
draft: true
32+
files: SmolMod/bin/Release/SmolMod.dll

SmolMod/SmolMod.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<Version>2.0.2</Version>
77
<Description>Make the map and pets larger so you feel smaller!</Description>
88
<Authors>XtraCube</Authors>
9+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
910
</PropertyGroup>
1011

1112
<ItemGroup>

0 commit comments

Comments
 (0)