From d63122d054220478b0d2ab456b39892b30d84462 Mon Sep 17 00:00:00 2001 From: Jan Pilzer Date: Sat, 12 Aug 2023 15:05:49 -0700 Subject: [PATCH] Only bundle and upload when creating a new version --- .github/workflows/master.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 8967a02..797bd54 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -23,7 +23,9 @@ jobs: uses: EndBug/version-check@v1 with: diff-search: true - - run: yarn run bundleBuild - - uses: actions/upload-artifact@v3 + - if: steps.check.outputs.changed == 'true' + run: yarn run bundleBuild + - if: steps.check.outputs.changed == 'true' + uses: actions/upload-artifact@v3 with: path: hirse.outline-list-*.zip