We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a336c4 commit b46de50Copy full SHA for b46de50
1 file changed
.github/workflows/release.yml
@@ -25,10 +25,16 @@ jobs:
25
run: dotnet test --configuration Release /p:Version=${VERSION} --no-build
26
- name: Pack
27
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
28
+
29
+ - name: NuGet login (OIDC → temp API key)
30
+ uses: NuGet/login@v1
31
+ id: login
32
+ with:
33
+ user: ascott18
34
35
- name: Push
- run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_KEY}
- env:
- NUGET_KEY: ${{ secrets.NUGET_KEY }}
36
+ run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ steps.login.outputs.NUGET_API_KEY }}
37
38
- name: Create GH Release
39
uses: softprops/action-gh-release@v1
40
with:
0 commit comments