Skip to content

Commit baac1f5

Browse files
authored
CI: Copy node exe to runner workspace root, don't abort macOS matrix
1 parent 15ded22 commit baac1f5

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,11 @@ jobs:
5454

5555
steps:
5656
- name: Install Node.js 16
57-
id: node16
5857
run: |
5958
$DOWNLOAD_TOOL https://nodejs.org/dist/v16.20.2/node-v16.20.2-linux-x64.tar.xz
6059
tar -xf node-v16.20.2-linux-x64.tar.xz
61-
node16="$(pwd)/node-v16.20.2-linux-x64/bin/node"
62-
$node16 --version
63-
echo "executable=${node16}" >> $GITHUB_OUTPUT
60+
cp -a ./node-v16.20.2-linux-x64/bin/node '${{ runner.workspace }}/node16'
61+
'${{ runner.workspace }}/node16' --version
6462
6563
- name: Checkout Source Code
6664
env:
@@ -72,7 +70,7 @@ jobs:
7270
$DOWNLOAD_TOOL https://raw.githubusercontent.com/actions/checkout/refs/tags/v3/dist/index.js
7371
$DOWNLOAD_TOOL https://raw.githubusercontent.com/actions/checkout/refs/tags/v3/dist/problem-matcher.json
7472
cd ..
75-
${{ steps.node16.outputs.executable }} ./checkout-v3/index.js
73+
'${{ runner.workspace }}/node16' ./checkout-v3/index.js
7674
#uses: actions/checkout@v3
7775
#with:
7876
# submodules: true
@@ -155,11 +153,11 @@ jobs:
155153
INPUT_PATH: 'build/Olive*.AppImage'
156154
INPUT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
157155
run: |
158-
mkdir upload-artifacts-v3
159-
cd upload-artifacts-v3
156+
mkdir upload-artifact-v3
157+
cd upload-artifact-v3
160158
$DOWNLOAD_TOOL https://raw.githubusercontent.com/actions/upload-artifact/refs/tags/v3/dist/index.js
161159
cd ..
162-
${{ steps.node16.outputs.executable }} ./upload-artifacts-v3/index.js
160+
'${{ runner.workspace }}/node16' ./upload-artifact-v3/index.js
163161
continue-on-error: true
164162
#uses: actions/upload-artifact@v3
165163
#with:
@@ -320,6 +318,7 @@ jobs:
320318

321319
macos:
322320
strategy:
321+
fail-fast: false
323322
matrix:
324323
include:
325324
- build-type: RelWithDebInfo

0 commit comments

Comments
 (0)