From 31f21a184b47a6abb6aca514390368b9cfb61d57 Mon Sep 17 00:00:00 2001 From: Mikhail Yakshin Date: Thu, 29 Aug 2024 23:21:05 +0100 Subject: [PATCH] test_as_action: try better storage cleanup + list --- .github/workflows/test.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49b7def..70310d7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,7 +37,16 @@ jobs: az storage blob delete-batch \ --account-name packageskaitai \ --source test3 \ - --pattern "*" \ + --pattern '*' \ + --sas-token ${{ secrets.TEST_AZURE_STORAGE_SAS_TOKEN }} + - 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 }} - name: Run action - create repo from scratch uses: ./ # Uses an action in the root directory