Skip to content

Commit 070387a

Browse files
committed
checkout first
1 parent 43b99c7 commit 070387a

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/sync-single-english-algolia-index.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ jobs:
1818
if: github.repository == 'github/docs-internal'
1919
runs-on: ubuntu-latest
2020
steps:
21-
- name: Get version from label if present
22-
id: getVersion
23-
run: .github/actions-scripts/enterprise-algolia-label.js
24-
- if: ${{ steps.getVersion.outputs.versionToSync }}
25-
name: checkout
21+
- name: checkout
2622
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
23+
- name: Get version from Algolia label if present; do not continue if the label is not found.
24+
id: getVersion
25+
run: $GITHUB_WORKSPACE/.github/actions-scripts/enterprise-algolia-label.js
2726
- if: ${{ steps.getVersion.outputs.versionToSync }}
2827
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
2928
with:

0 commit comments

Comments
 (0)