Skip to content

Commit

Permalink
build: fix github action expression startsWith
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermocalvo committed Mar 18, 2024
1 parent 195edeb commit 5354881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/groovy-joint-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Checkout Groovy 3_0_X (Grails 5 and later)
if: startsWith('refs/head/6.', github.ref) || startsWith('6.', github.base_ref) || startsWith('refs/head/5.', github.ref) || startsWith('5.', github.base_ref)
if: startsWith(github.ref, 'refs/head/6.') || startsWith(github.base_ref, '6.') || startsWith(github.ref, 'refs/head/5.') || startsWith(github.base_ref, '5.')
run: cd .. && git clone --depth 1 https://github.com/apache/groovy.git -b GROOVY_3_0_X --single-branch
- name: Set CI_GROOVY_VERSION for Grails
id: groovy-version
Expand Down

0 comments on commit 5354881

Please sign in to comment.