ci: Upload nupkg before snupkg
Heck Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
b74835c585
commit
9e37856ac9
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build-test.yaml
vendored
4
.github/workflows/build-test.yaml
vendored
|
@ -85,6 +85,8 @@ jobs:
|
|||
- name: Build the package
|
||||
run: dotnet build --configuration Release --no-restore -p:SymbolPackageFormat=snupkg
|
||||
- name: Publish the package
|
||||
run: dotnet nuget push src/Xdg.Directories/bin/Release/*.snupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }}
|
||||
run:
|
||||
dotnet nuget push src/Xdg.Directories/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }}
|
||||
dotnet nuget push src/Xdg.Directories/bin/Release/*.snupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }}
|
||||
env:
|
||||
NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue