File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,21 @@ jobs:
2727 with :
2828 node-version : " 20"
2929 cache : " npm"
30+ cache-dependency-path : .github/scripts/release-index/package-lock.json
3031
3132 - name : Install dependencies
33+ working-directory : .github/scripts/release-index
3234 run : npm ci
3335
3436 - name : Build Release Index
37+ working-directory : .github/scripts/release-index
3538 env :
3639 GITHUB_TOKEN : ${{ secrets.TOKEN_GITHUB }}
3740 run : node build-releases.js
3841 timeout-minutes : 2
3942
4043 - name : Verify output
44+ working-directory : .github/scripts/release-index
4145 run : |
4246 if [ ! -f releases/releases.json ]; then
4347 echo "Error: releases.json not generated"
5054 if : success()
5155 with :
5256 github_token : ${{ secrets.TOKEN_GITHUB }}
53- publish_dir : ./releases
57+ publish_dir : .github/scripts/release-index /releases
5458 publish_branch : gh-pages
5559 user_name : " github-actions[bot]"
5660 user_email : " github-actions[bot]@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments