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 29dff78 commit 8ff563fCopy full SHA for 8ff563f
.github/workflows/dotnet.yml
@@ -92,9 +92,15 @@ jobs:
92
- name: Is Tag Build
93
if: startsWith(github.ref, 'refs/tags/')
94
run: echo "IsTagBuild=true" >> $GITHUB_ENV
95
+
96
+ - name: Generate Beta Suffix
97
+ if: startsWith(github.ref, 'refs/tags/') && contains(github.ref_name, '/')
98
+ env:
99
+ REF_NAME: ${{ github.ref_name }}
100
+ run: echo "Suffix=${REF_NAME##*/}" >> $GITHUB_ENV
101
102
- name: Generate Suffix
- run: echo "Suffix=$(date +'%Y%m%d')-${{ github.run_number }}" >> $GITHUB_ENV
103
+ run: echo "Suffix=nightly.$(date +'%Y%m%d').${{ github.run_number }}" >> $GITHUB_ENV
104
105
- name: setup NuGet
106
uses: nuget/setup-nuget@v2
0 commit comments