We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63cedca commit 6624f52Copy full SHA for 6624f52
1 file changed
.github/workflows/release.yml
@@ -8,13 +8,17 @@ jobs:
8
timeout-minutes: 15
9
steps:
10
- name: Checkout
11
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
12
- name: Verify commit exists in origin/main
13
run: |
14
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
15
git branch --remote --contains | grep origin/main
16
- name: Set VERSION variable from tag
17
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
22
- name: Build
23
run: dotnet build --configuration Release /p:Version=${VERSION}
24
- name: Test
0 commit comments