Skip to content

Commit e2b3126

Browse files
authored
Update GitHub Actions workflow for .NET Core
1 parent 8123a50 commit e2b3126

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/dotnetcore.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- master
88
pull_request:
9+
permissions:
10+
id-token: write
11+
contents: read
912

1013
jobs:
1114
build:
@@ -66,7 +69,7 @@ jobs:
6669

6770
# https://learn.microsoft.com/fr-fr/nuget/nuget-org/trusted-publishing
6871
- name: NuGet login (OIDC → temp API key)
69-
uses: NuGet/login@v1
72+
uses: NuGet/login@8d196754b4036150537f80ac539e15c2f1028841 #v1.2.0
7073
id: login
7174
with:
7275
user: ${{ secrets.NUGET_USER }}

0 commit comments

Comments
 (0)