fix: mac-os uploaded artifacts (#23)
This commit is contained in:
parent
65a09c7458
commit
7b7e2ce56e
5
.github/workflows/build-macos.yml
vendored
5
.github/workflows/build-macos.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
||||
ls -l dist
|
||||
(test -f dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: steps.check_file.outputs.EXISTS == 'true'
|
||||
with:
|
||||
name: node${{ matrix.target-node }}-macos-x64
|
||||
@ -73,9 +73,10 @@ jobs:
|
||||
- name: Check if binary is compiled
|
||||
id: check_file
|
||||
run: |
|
||||
ls -l dist
|
||||
(test -f dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: steps.check_file.outputs.EXISTS == 'true'
|
||||
with:
|
||||
name: node${{ matrix.target-node }}-macos-arm64
|
||||
|
||||
Loading…
Reference in New Issue
Block a user