Skip to content

Commit

Permalink
Fixing the CI to also run in release when it's a tag ? (#2138)
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil authored Jun 28, 2024
1 parent 74b0231 commit fb98ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
runs-on: ["self-hosted", "${{ needs.build-and-push.outputs.runs_on }}", "multi-gpu"]
if: needs.build-and-push.outputs.runs_on != 'ubuntu-latest'
env:
PYTEST_FLAGS: ${{ github.ref == 'refs/heads/main' && '--release' || '' }}
PYTEST_FLAGS: ${{ (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main') && '--release' || '' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit fb98ab2

Please sign in to comment.