Skip to content

Commit 1190342

Browse files
committed
chore: fix ci for net10
1 parent 646dde0 commit 1190342

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-dotnet@v4.1.0
2121
with:
22-
dotnet-version: 9.x
22+
dotnet-version: 10.x
2323
- id: git-vars
2424
name: Get git branch information
2525
shell: bash
@@ -47,20 +47,20 @@ jobs:
4747
run: dotnet restore -r ${{ matrix.runtimeIdentifier }} /p:VersionSuffix=${{ steps.set-vars.outputs.versionString }}
4848
- name: Build
4949
working-directory: ./${{ matrix.project }}/
50-
run: dotnet publish -c Release -f net9.0 -r ${{ matrix.runtimeIdentifier }} /p:VersionSuffix=${{ steps.set-vars.outputs.versionString }} --no-restore --self-contained
50+
run: dotnet publish -c Release -f net10.0 -r ${{ matrix.runtimeIdentifier }} /p:VersionSuffix=${{ steps.set-vars.outputs.versionString }} --no-restore --self-contained
5151
- name: Upload Executable
5252
uses: actions/upload-artifact@v4
5353
with:
5454
name: ${{ matrix.project }}-net9-${{ matrix.runtimeIdentifier }}
55-
path: ./${{ matrix.project }}/bin/Release/net9.0/${{ matrix.runtimeIdentifier }}/publish/${{ matrix.project }}${{ steps.set-vars.outputs.extension }}
55+
path: ./${{ matrix.project }}/bin/Release/net10.0/${{ matrix.runtimeIdentifier }}/publish/${{ matrix.project }}${{ steps.set-vars.outputs.extension }}
5656
release-netframework:
5757
name: Build - Windows .NET Framework Zip
5858
runs-on: ubuntu-latest
5959
steps:
6060
- uses: actions/checkout@v4
6161
- uses: actions/setup-dotnet@v4.1.0
6262
with:
63-
dotnet-version: 9.x
63+
dotnet-version: 10.x
6464
- name: Install dependencies
6565
run: dotnet restore -r win-x64
6666
- name: Build
@@ -79,7 +79,7 @@ jobs:
7979
- uses: actions/checkout@v4
8080
- uses: actions/setup-dotnet@v4.1.0
8181
with:
82-
dotnet-version: 9.x
82+
dotnet-version: 10.x
8383
- id: git-vars
8484
name: Set up environment
8585
shell: bash

0 commit comments

Comments
 (0)