diff --git a/.github/workflows/test_and_build.yml b/.github/workflows/test_and_build.yml index b9fef0f7c..50bbb5044 100644 --- a/.github/workflows/test_and_build.yml +++ b/.github/workflows/test_and_build.yml @@ -54,6 +54,7 @@ jobs: fi - name: Setup EE version + if: ${{ ! startsWith(github.ref, 'refs/tags/') }} run: | cd "$GITHUB_WORKSPACE" if [[ "$GITHUB_REF" != $DEPLOY_BRANCH ]]; then @@ -173,7 +174,7 @@ jobs: name: Deploy Phar if: | github.repository_owner == 'EasyEngine' && - (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) + (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master') runs-on: ubuntu-latest needs: [build, test] @@ -231,7 +232,7 @@ jobs: github.repository_owner == 'EasyEngine' && startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest - needs: [build, test, deploy] + needs: [build, test] steps: - name: Check out source code