From f527885d4761c974256a0048b85ac1c539370f7c Mon Sep 17 00:00:00 2001 From: Simon Costea Date: Tue, 7 May 2024 13:45:00 +0300 Subject: [PATCH] Use creds for Azure login --- .github/workflows/electron.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index a72806f0..98acbb51 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -45,11 +45,7 @@ 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 @@ -57,7 +53,7 @@ jobs: 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