ci: use working-directory instead of cd command

This commit is contained in:
link2xt
2023-06-02 17:00:27 +00:00
parent 3b6d21301b
commit 55bc556bcf
5 changed files with 23 additions and 33 deletions

View File

@@ -46,13 +46,12 @@ jobs:
- name: Install dependencies & build
if: steps.cache.outputs.cache-hit != 'true'
run: |
cd node
npm install --verbose
working-directory: node
run: npm install --verbose
- name: Build Prebuild
working-directory: node
run: |
cd node
npm run prebuildify
tar -zcvf "${{ matrix.os }}.tar.gz" -C prebuilds .