diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa7fa1fc..ac91e95f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,7 +82,7 @@ jobs: # Increments to the next tag on master only, bumps version based on the recent commits new_tag: - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' && github.event_name == 'push' + if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && github.event_name == 'push' runs-on: ubuntu-latest needs: test steps: @@ -107,7 +107,7 @@ jobs: # Creates a new release page on GitHub when master changes create_release: - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' && github.event_name == 'push' + if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && github.event_name == 'push' runs-on: ubuntu-latest needs: new_tag steps: @@ -129,7 +129,7 @@ jobs: # In this Release section, we are re-building the binaries because eventually we can include the new git tag as their # version string when saying 'colly --version' build_and_upload: - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' && github.event_name == 'push' + if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && github.event_name == 'push' runs-on: ubuntu-latest needs: [test, new_tag, create_release] strategy: