From 10bcdac4c2f1225dace7076359707523c93ed27f Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 23:57:36 +0000 Subject: [PATCH] Add a couple of extra tests --- .github/workflows/download.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index a2e4c5a7..72bd8c2c 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -140,6 +140,36 @@ jobs: dry_run: true - name: Test run: test ${{ steps.download.outputs.dry_run }} == false + download-with-check-artifacts: + runs-on: ubuntu-latest + needs: wait + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Download + uses: ./ + with: + workflow: upload.yml + name: artifact + path: artifact + check_artifacts: true + - name: Test + run: cat artifact/sha | grep $GITHUB_SHA + download-with-search-artifacts: + runs-on: ubuntu-latest + needs: wait + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Download + uses: ./ + with: + workflow: upload.yml + name: artifact + path: artifact + search_artifacts: true + - name: Test + run: cat artifact/sha | grep $GITHUB_SHA download-many-search-artifacts: runs-on: ubuntu-latest needs: wait