Skip to content

Commit 6624f52

Browse files
committed
update release.yml pipeline to use .net9
1 parent 63cedca commit 6624f52

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@ jobs:
88
timeout-minutes: 15
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
1212
- name: Verify commit exists in origin/main
1313
run: |
1414
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
1515
git branch --remote --contains | grep origin/main
1616
- name: Set VERSION variable from tag
1717
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v4
20+
with:
21+
dotnet-version: 9.0.x
1822
- name: Build
1923
run: dotnet build --configuration Release /p:Version=${VERSION}
2024
- name: Test

0 commit comments

Comments
 (0)