Skip to content

Commit 11da709

Browse files
committed
Try OIDC on pre-release
1 parent a3a52c1 commit 11da709

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/publish-nuget-org-pre-release.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,18 @@ on:
55
types: [prereleased]
66

77
jobs:
8-
push:
9-
permissions:
10-
checks: write
11-
contents: read
12-
packages: write
13-
uses: NetChris/workflows/.github/workflows/pre-release-nuget-org.yml@nuget-trusted-publishing
14-
secrets: inherit
8+
nuget-oidc:
9+
name: NuGet login (OIDC → temp API key)
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: NuGet/login@v1
13+
id: login
14+
with:
15+
user: ChrisSimmons
16+
# push:
17+
# permissions:
18+
# checks: write
19+
# contents: read
20+
# packages: write
21+
# uses: NetChris/workflows/.github/workflows/pre-release-nuget-org.yml@nuget-trusted-publishing
22+
# secrets: inherit

0 commit comments

Comments
 (0)