Skip to content

Commit 9b5aace

Browse files
committed
fix trusted publishing
1 parent ed2ad7f commit 9b5aace

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/push-master.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ jobs:
3535
force_orphan: true
3636
- name: Examine bin
3737
run: ls -r bin
38-
- name: Login to NuGet.org (trusted publishing)
39-
uses: NuGet/login@v1
40-
id: nuget-login
38+
- name: Obtain NuGet key
39+
# this hash is v1.1.0
40+
uses: NuGet/login@d22cc5f58ff5b88bf9bd452535b4335137e24544
41+
id: login
4142
with:
42-
organization: fsprojects
43+
user: fsprojects
4344
- name: Publish NuGets (if this version not published before)
4445
run: dotnet nuget push bin\FSharp.Data.*.nupkg -s https://www.nuget.org/api/v2/package -k ${{ steps.nuget-login.outputs.NUGET_API_KEY }} --skip-duplicate
4546

0 commit comments

Comments
 (0)