We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46a5e4f commit 6cd5070Copy full SHA for 6cd5070
.github/workflows/test_ws_codecov.yml
@@ -13,11 +13,21 @@ jobs:
13
id: branch-name
14
uses: tj-actions/branch-names@v6
15
16
- - uses: actions/checkout@v3
+ - name: Checkout to specific branch
17
+ uses: actions/checkout@v3
18
+ id: specific-checkout
19
+ continue-on-error: true
20
with:
21
repository: biothings/biothings_explorer
22
ref: ${{ steps.branch-name.outputs.current_branch }}
23
24
+ - name: Checkout to main if above failed
25
+ if: steps.specific-checkout.outcome = 'failure'
26
27
+ with:
28
+ repository: biothings/biothings_explorer
29
+ ref: main
30
+
31
- name: Use Node.js 18.x
32
uses: actions/setup-node@v3
33
0 commit comments