From 11302437f89126fd7f02d88600930a689830d43e Mon Sep 17 00:00:00 2001 From: Timothy Place Date: Wed, 24 Jun 2020 13:37:45 -0500 Subject: [PATCH] ci: attempt to save ci time in the package step when it is not needed --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5e5280..78ea9fe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -94,6 +94,7 @@ jobs: release: runs-on: ubuntu-latest needs: package + if: ${{ contains( github.ref, 'refs/tags/' ) }} steps: - uses: benjlevesque/short-sha@v1.1 @@ -119,7 +120,6 @@ jobs: path: ${{ github.event.repository.name }}-package-for-max-${{ steps.short-sha.outputs.sha }}.zip - uses: ncipollo/release-action@v1.7.1 - if: ${{ contains( github.ref, 'refs/tags/' ) }} with: artifacts: ${{ github.event.repository.name }}-package-for-max-${{ steps.short-sha.outputs.sha }}.zip body: "Max Package for all supported platforms"