Update nightly version format for metapackage
This commit is contained in:
8
.github/workflows/dotnet.yml
vendored
8
.github/workflows/dotnet.yml
vendored
@@ -93,8 +93,14 @@ jobs:
|
|||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
run: echo "IsTagBuild=true" >> $GITHUB_ENV
|
run: echo "IsTagBuild=true" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Generate Beta Suffix
|
||||||
|
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref_name, '/')
|
||||||
|
env:
|
||||||
|
REF_NAME: ${{ github.ref_name }}
|
||||||
|
run: echo "Suffix=${REF_NAME##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Generate Suffix
|
- name: Generate Suffix
|
||||||
run: echo "Suffix=$(date +'%Y%m%d')-${{ github.run_number }}" >> $GITHUB_ENV
|
run: echo "Suffix=nightly.$(date +'%Y%m%d').${{ github.run_number }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: setup NuGet
|
- name: setup NuGet
|
||||||
uses: nuget/setup-nuget@v2
|
uses: nuget/setup-nuget@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user