From 1ad1fb48e96f937bd8e5bdd06f1a3be0bc861934 Mon Sep 17 00:00:00 2001 From: Peter Gorniak Date: Thu, 25 Feb 2021 14:57:23 -0800 Subject: [PATCH] artifact --- .github/workflows/make_card_db_pr.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/make_card_db_pr.yml b/.github/workflows/make_card_db_pr.yml index efbdf76..31ea3c6 100644 --- a/.github/workflows/make_card_db_pr.yml +++ b/.github/workflows/make_card_db_pr.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/github-script@v3.1.0 - id: get-metadata + id: get-artifact with: result-encoding: string script: | @@ -41,11 +41,11 @@ jobs: return 'no_artifact' } - run: unzip -d src/domdiv/card_db card_db.zip - if: steps.get-metadata.output.result == 'found_artifact' + if: steps.get-artifact.outputs.result == 'found_artifact' - run: rm -f card_db.zip - if: steps.get-metadata.output.result == 'found_artifact' + if: steps.get-artifact.outputs.result == 'found_artifact' - name: Make PR - if: steps.get-metadata.output.result == 'found_artifact' + if: steps.get-artifact.output.result == 'found_artifact' uses: peter-evans/create-pull-request@v3 with: body: |