Skip to content

Commit 5cc4e8d

Browse files
committed
Missing az context
1 parent 1e4f71e commit 5cc4e8d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/actions/clean-storage-accounts/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
azPSVersion: "latest"
1616
inlineScript: |
1717
$currentUtcTime = [DateTime]::UtcNow
18-
18+
Get-AzContext
1919
$storageAccounts = Get-AzStorageAccount -ResourceGroupName ${{ inputs.environmentName }}
2020
foreach ($storageAccount in $storageAccounts) {
2121

.github/workflows/fhir-oss-ci-pipeline.yml

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
client-id: ${{secrets.AZURE_CLIENT_ID}}
4949
subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}
5050
tenant-id: ${{secrets.AZURE_TENANT_ID}}
51+
enable-AzPSSession: true
5152

5253
- name: Clean Storage Accounts
5354
uses: ./.github/actions/clean-storage-accounts

0 commit comments

Comments
 (0)