From b048b8a4a3869fbc995485a9b8b0c4ec1199fcf8 Mon Sep 17 00:00:00 2001 From: Roman Gilg Date: Fri, 16 Feb 2024 08:50:57 +0100 Subject: [PATCH] test: check download without workflow set This tests searching for a workflow if not provided. --- .github/workflows/download.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index 03c2d14f..2cadcae8 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -26,6 +26,19 @@ jobs: path: artifact - name: Test run: cat artifact/sha | grep $GITHUB_SHA + download-search-workflow: + runs-on: ubuntu-latest + needs: wait + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Download + uses: ./ + with: + name: artifact + path: artifact + - name: Test + run: cat artifact/sha | grep $GITHUB_SHA download-branch: runs-on: ubuntu-latest needs: wait