Skip to content

Commit b4af507

Browse files
committed
Update pipelines to .NET 9
Since this is a CLI tool
1 parent 6ca3fc0 commit b4af507

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/build-do-releases.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Setup .NET
16-
uses: actions/setup-dotnet@v3
16+
uses: actions/setup-dotnet@v4
1717
with:
18-
dotnet-version: 8.0.x
18+
dotnet-version: 9.0.x
1919
- name: Get current tag
2020
run: echo "CURRENT_TAG=`git describe --tags --abbrev=0`" >> $GITHUB_ENV
2121
- name: Restore dependencies
2222
run: dotnet restore
2323
- name: Build a Win-x64 release
24-
run: dotnet publish -c Release -f net8.0 -r win-x64 -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:PublishTrimmed=true --self-contained true -o publish
24+
run: dotnet publish -c Release -f net9.0 -r win-x64 -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:PublishTrimmed=true --self-contained true -o publish
2525
- name: Rename and move Win-x64 binary
2626
run: mv publish/Dithery-cli.exe dithery.exe
2727
- name: Build a Linux-x64 release
28-
run: dotnet publish -c Release -f net8.0 -r linux-x64 -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:PublishTrimmed=true --self-contained true -o publish
28+
run: dotnet publish -c Release -f net9.0 -r linux-x64 -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:PublishTrimmed=true --self-contained true -o publish
2929
- name: Rename and move Linux-x64 binary
3030
run: mv publish/Dithery-cli dithery
3131
- name: Install zip

.github/workflows/dotnet-core.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: .NET Core
1+
name: .NET CI build
22

33
on:
44
push:
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: Setup .NET Core
17-
uses: actions/setup-dotnet@v3
15+
- uses: actions/checkout@v4
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v4
1818
with:
19-
dotnet-version: 8.0.x
19+
dotnet-version: 9.0.x
2020
- name: Build
2121
run: dotnet build --configuration Release

0 commit comments

Comments
 (0)