Skip to content

Commit

Permalink
Use creds for Azure login
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1m0n committed May 7, 2024
1 parent e702238 commit f527885
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,15 @@ jobs:
if: ${{ matrix.os.name == 'windows' }}
uses: azure/login@v2
with:
auth-type: IDENTITY
client-id: ${{ secrets.BCCM_WINDOWS_CLIENT_ID }}
tenant-id: ${{ secrets.BCCM_WINDOWS_DIRECTORY_ID }}
subscription-id: ${{ secrets.BCCM_WINDOWS_SUBSCRIPTION_ID }}
enable-AzPSSession: true
creds: ${{ secrets.BCCM_AZURE_CREDENTIALS }}

- name: Download certificate file from Key Vault
id: download-cert
if: ${{ matrix.os.name == 'windows' }}
uses: azure/get-keyvault-secrets@v1
with:
keyvault: 'bccm-code-sign2'
secrets: ${{ secrets.BCCM_WINDOWS_CLIENT_SECRET }}
secrets: 'HSM-CS'
continue-on-error: false

- name: Sign & build the Electron app for Windows
Expand Down

0 comments on commit f527885

Please sign in to comment.