Skip to content

Commit 4382160

Browse files
committed
update GitHub Actions to use latest versions of checkout and setup-dotnet, and upgrade .NET version to 10.0.x
1 parent 03436b0 commit 4382160

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-nuget.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ jobs:
1111
runs-on: windows-latest
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Verify commit exists in origin/main
1616
run: |
1717
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
1818
git branch --remote --contains | grep origin/main
1919
- name: Set VERSION variable from tag
2020
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
2121
- name: Setup .NET
22-
uses: actions/setup-dotnet@v2
22+
uses: actions/setup-dotnet@v4
2323
with:
24-
dotnet-version: 9.0.x
24+
dotnet-version: 10.0.x
2525
- name: Get version information from tag
2626
id: get_version
2727
uses: battila7/get-version-action@v2

0 commit comments

Comments
 (0)