Skip to content

Commit 06ba233

Browse files
Update build-and-sign.yml
1 parent e052b1a commit 06ba233

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build-and-sign.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
path: src/AClassLibrary/bin/Release/**/*.nupkg
3434

3535
sign:
36+
permissions:
37+
id-token: write # Required for requesting the JWT
38+
3639
runs-on: windows-latest
3740
steps:
3841

@@ -54,4 +57,10 @@ jobs:
5457
- name: Install Sign CLI tool
5558
run: dotnet tool install --tool-path . sign --version 0.9.0-beta.23063.3
5659

60+
- name: 'Az CLI login'
61+
uses: azure/login@v1
62+
with:
63+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
64+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
65+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
5766

0 commit comments

Comments
 (0)