Skip to content

Commit a6bcd29

Browse files
committed
Rename build job and add OIDC token permissions
Renamed the `build` job in `Release.yml` to `build-and-publish` to better reflect its purpose. Added a `permissions` section to enable `id-token: write`, allowing the job to issue GitHub OIDC tokens for authentication. Retained `windows-latest` as the runner environment and included the `actions/checkout@v4` step for repository code checkout.
1 parent 0d46b8f commit a6bcd29

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/Release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ env:
1010
NUGET_PATH: './**/IeuanWalker.Maui.StateButton.${{ github.event.release.tag_name }}.nupkg'
1111

1212
jobs:
13-
build:
13+
build-and-publish:
14+
permissions:
15+
id-token: write # enable GitHub OIDC token issuance for this job
16+
1417
runs-on: windows-latest
1518

1619
steps:

0 commit comments

Comments
 (0)