Skip to content

Commit 2a58d26

Browse files
authored
Specify that blob storage is authorized via az login (#13604)
According to https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-cli#authorize-access-to-blob-storage this should fix things. Also simplify things by dropping the Azure/CLI action since we don't need CLI versioning and az is installed in the [base image](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#ubuntu-20041-lts).
1 parent c1c9ea7 commit 2a58d26

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/insiders.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,7 @@ jobs:
497497
creds: ${{ secrets.AZURE_CREDENTIALS }}
498498

499499
- name: Upload to Blob Storage
500-
uses: azure/CLI@v1
501-
with:
502-
inlineScript: |
503-
az storage blob upload --file ${{ env.VSIX_NAME }} --container-name ${{ env.BLOB_CONTAINER_NAME }} --name ${{ env.BLOB_NAME }}
504-
az storage blob url --container-name ${{ env.BLOB_CONTAINER_NAME }} --name ${{ env.BLOB_NAME }}
500+
run: az storage blob upload --file ${{ env.VSIX_NAME }} --container-name ${{ env.BLOB_CONTAINER_NAME }} --name ${{ env.BLOB_NAME }} --auth-mode login
501+
502+
- name: Get URL to uploaded VSIX
503+
run: az storage blob url --container-name ${{ env.BLOB_CONTAINER_NAME }} --name ${{ env.BLOB_NAME }} --auth-mode login

0 commit comments

Comments
 (0)