Skip to content

Commit 912c293

Browse files
committed
Update publish workflow
1 parent eba7979 commit 912c293

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
ref: "${{ github.event.inputs.ref }}"
2222
fetch-depth: '0' # all
23-
- name: Setup .NET Core 8.0
23+
- name: Setup .NET Core 9.0
2424
uses: actions/setup-dotnet@v4
2525
with:
26-
dotnet-version: '8.0.x'
26+
dotnet-version: '9.0.x'
2727
- name: Setup gitversion
2828
run: dotnet tool install --global GitVersion.Tool
2929
- name: Calculate version
@@ -35,8 +35,8 @@ jobs:
3535
run: dotnet restore DynamicExpresso.sln
3636
- name: Build
3737
run: dotnet build DynamicExpresso.sln --no-restore -c Release /p:Version=${{steps.calc_version.outputs.PROJECT_VERSION}}
38-
- name: Test .net core 8.0
39-
run: dotnet test DynamicExpresso.sln --no-build --no-restore -c Release /p:Version=${{steps.calc_version.outputs.PROJECT_VERSION}} --verbosity normal -f net8.0
38+
- name: Test .net core 9.0
39+
run: dotnet test DynamicExpresso.sln --no-build --no-restore -c Release /p:Version=${{steps.calc_version.outputs.PROJECT_VERSION}} --verbosity normal -f net9.0
4040
- name: Setup nuget sources
4141
run: dotnet nuget add source --name github "https://nuget.pkg.github.com/dynamicexpresso/index.json"
4242
- name: Pack

0 commit comments

Comments
 (0)