Skip to content

Commit

Permalink
ci(build): fix github ref for branch PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
andreszorro committed Jul 18, 2024
1 parent c600dd6 commit 75ac3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ contains(github.ref, '-beta') && 'develop' || 'main' }}
ref: ${{ contains(github.ref, '-beta') && 'develop' || (startsWith(github.ref, 'refs/tags/') && 'main' || github.ref) }}
- name: Mise Tools install
uses: jdx/mise-action@v2
with:
Expand Down

0 comments on commit 75ac3aa

Please sign in to comment.