We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab1eba commit f3d8de3Copy full SHA for f3d8de3
.github/workflows/dotnet-desktop.yml
@@ -27,13 +27,11 @@ jobs:
27
# fetch-depth: 0
28
29
- name: Set Version Variable
30
- #if: ${{ github.ref_type == 'tag' }}
31
- #env:
32
- # TAG: ${{ github.ref_name }}
+ if: ${{ github.ref_type == 'tag' }}
+ env:
+ TAG: ${{ github.ref_name }}
33
run: |
34
- echo '"${{ github.ref_name }}" -replace '#v.#', '''
35
- echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
36
- echo "Tag name from github.ref_name: ${{ github.ref_name }}"
+ $VERSION = $TAG -replace 'v.', ''
37
#run: echo "VERSION=${TAG#v.#}" > $GITHUB_ENV
38
39
# Install the .NET Core workload
0 commit comments