Skip to content

Commit 4a317aa

Browse files
committed
Update pipeline to publish using trusted publisher
1 parent fa0ffff commit 4a317aa

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
13-
12+
permissions:
13+
id-token: write # Required for OIDC
14+
contents: read
1415
steps:
1516
- uses: actions/checkout@v4
1617
- name: Setup .NET
1718
uses: actions/setup-dotnet@v4
1819
with:
19-
dotnet-version: 8.x
20+
dotnet-version: 10.x
2021
- name: Install dependencies
2122
run: dotnet restore
2223
- name: Build

0 commit comments

Comments
 (0)