Skip to content

Commit

Permalink
Merge pull request #94 from MetRonnie/install-fix
Browse files Browse the repository at this point in the history
Bypass picking compatible branches if branches already specified
  • Loading branch information
oliver-sanders authored Jan 13, 2025
2 parents 2f5ba60 + bf74e73 commit e8cf387
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install-cylc-components/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ runs:
cat branches.json
- name: Determine compatible Cylc component versions
# Need string comparison for bools: https://github.com/actions/runner/issues/2238
if: >-
(inputs.cylc_flow == 'true' && !inputs.cylc_flow_tag) ||
(inputs.cylc_uiserver =='true' && !inputs.cylc_uiserver_tag) ||
(inputs.metomi_rose == 'true' && !inputs.metomi_rose_tag) ||
(inputs.cylc_rose == 'true' && !inputs.cylc_rose_tag)
id: get_tag
shell: bash
env:
Expand Down

0 comments on commit e8cf387

Please sign in to comment.