From 9be9b11b008af906f8b9ebe17cf5a573d3ff1f28 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Fri, 19 Feb 2021 11:23:20 +0100 Subject: [PATCH] workflows: test pr input --- .github/workflows/download.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index b865568e..0346148f 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -42,6 +42,22 @@ jobs: branch: master - name: Test run: cat artifact/sha | grep $GITHUB_SHA + download-pr: + runs-on: ubuntu-latest + needs: wait + if: github.ref != 'refs/heads/master' + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Download + uses: ./ + with: + workflow: upload.yml + name: artifact + path: artifact + pr: ${{github.event.pull_request.number}} + - name: Test + run: cat artifact/sha | grep $GITHUB_SHA download-run_id: runs-on: ubuntu-latest needs: wait