diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69e311e..b0581be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: uses: coverallsapp/github-action@v2 release: - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/develop' || ${{ startsWith(github.ref, 'refs/tags/') }} runs-on: ubuntu-latest needs: test env: @@ -54,7 +54,7 @@ jobs: run: task gem:build gem:push docker: - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/develop' || ${{ startsWith(github.ref, 'refs/tags/') }} runs-on: ubuntu-latest needs: test steps: