mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-22 23:58:48 +00:00
[ci skip] [github actions] Use correct version suffix for (pre)release
This commit is contained in:
parent
0f40bb2e31
commit
d5e6febd5c
2
.github/workflows/prerelease.yml
vendored
2
.github/workflows/prerelease.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
- name: Build NuGet package
|
||||
run: |
|
||||
mkdir build
|
||||
dotnet pack X10D -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='nightly' -p:BuildNumber=${{ github.run_number }}
|
||||
dotnet pack X10D -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='prerelease' -p:BuildNumber=${{ github.run_number }}
|
||||
|
||||
- name: Push NuGet Package to GitHub
|
||||
run: dotnet nuget push "build/*" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
- name: Build NuGet package
|
||||
run: |
|
||||
mkdir build
|
||||
dotnet pack X10D -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build -p:VersionSuffix='nightly' -p:BuildNumber=${{ github.run_number }}
|
||||
dotnet pack X10D -p:SymbolPackageFormat=snupkg --include-symbols --include-source -o build
|
||||
|
||||
- name: Push NuGet Package to GitHub
|
||||
run: dotnet nuget push "build/*" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
|
||||
|
Loading…
Reference in New Issue
Block a user