We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 189849e commit e97718dCopy full SHA for e97718d
.github/workflows/build-native-nuget.yml
@@ -6,6 +6,9 @@ on:
6
paths:
7
- .github/workflows/build-native-nuget.yml
8
workflow_dispatch:
9
+
10
+permissions:
11
+ packages: write
12
13
jobs:
14
build-all:
@@ -187,8 +190,7 @@ jobs:
187
190
188
191
- name: Push nupkg to Github Packages
189
192
run: |
- echo "Pushing to GitHub Packages: ${{ matrix.title }}"
193
for f in ${{ github.workspace }}/nupkgs/*.nupkg
194
do
- dotnet nuget push "$f" --source "https://nuget.pkg.github.com/${{ github.repository_owner }}" --api-key "${{ env.GITHUB_TOKEN }}" --skip-duplicate
195
+ dotnet nuget push "$f" --source "https://nuget.pkg.github.com/${{ github.repository_owner }}" --api-key "${{ secrets.GITHUB_TOKEN }}" --skip-duplicate
196
done
0 commit comments