Skip to content

Commit 1edf51c

Browse files
committed
ci: added ref to checkout correct version
1 parent f7ebbe2 commit 1edf51c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/test-build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
- uses: actions/checkout@v4
7474
with:
7575
fetch-depth: 0
76+
ref: ${{ contains(github.ref, '-beta') && 'develop' || 'main' }}
7677
- name: Output version
7778
run: |
7879
jq -r '.version' package.json > TESTED_VERSION.txt

0 commit comments

Comments
 (0)