Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,9 @@ jobs:
environment: nuget-release-gate # This gates this job until manually approved
runs-on: ubuntu-latest

permissions:
id-token: write

strategy:
fail-fast: false # prevent one matrix pipeline from being cancelled if one fails, we want them both to run to completion.
matrix:
Expand All @@ -405,12 +408,18 @@ jobs:
name: signed-nuget-packages-${{ matrix.winui }}
path: ./packages

- name: NuGet login
uses: NuGet/login@v1
id: nuget-login
with:
user: ${{ secrets.NUGET_USER }}

- name: Push to NuGet.org
run: >
dotnet nuget push
**/*.nupkg
--source https://api.nuget.org/v3/index.json
--api-key ${{ secrets.NUGET_PACKAGE_PUSH_TOKEN }}
--api-key ${{ steps.nuget-login.outputs.NUGET_API_KEY }}
--skip-duplicate

wasm-linux:
Expand Down