Skip to content

Commit

Permalink
test_as_action: try with az command line directly - it should be prei…
Browse files Browse the repository at this point in the history
…nstalled
  • Loading branch information
GreyCat committed Aug 30, 2024
1 parent 727c637 commit b1c5574
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,23 @@ jobs:
- name: Generate test GPG keys
run: ./test-generate-gpg
- name: Clean Az Storage container
uses: azure/CLI@v1
with:
inlineScript: |
az storage blob delete-batch \
--account-name packageskaitai \
--source test3 \
--pattern '*' \
--sas-token ${{ secrets.TEST_AZURE_STORAGE_SAS_TOKEN }}
env:
AZURE_STORAGE_SAS_TOKEN: ${{ secrets.TEST_AZURE_STORAGE_SAS_TOKEN }}
run: |
az storage blob delete-batch \
--account-name packageskaitai \
--source test3 \
--pattern '*'
- name: List Az Storage container
uses: azure/CLI@v1
with:
inlineScript: |
az storage blob list \
--account-name packageskaitai \
-c test3 \
--output table \
--sas-token ${{ secrets.TEST_AZURE_STORAGE_SAS_TOKEN }}
env:
AZURE_STORAGE_SAS_TOKEN: ${{ secrets.TEST_AZURE_STORAGE_SAS_TOKEN }}
run:
az storage blob list \
--account-name packageskaitai \
-c test3 \
--output table
- name: Run action - create repo from scratch
uses: ./ # Uses an action in the root directory
id: az_repo_apt_add
with:
az_storage_sas_token: ${{ secrets.TEST_AZURE_STORAGE_SAS_TOKEN }}
az_storage_account: packageskaitai
Expand Down

0 comments on commit b1c5574

Please sign in to comment.