Remove the npm only --if-present arg from the workflows (#2753)

This commit is contained in:
absidue 2022-10-21 03:22:51 +02:00 committed by GitHub
parent 761e5f9fb8
commit f407d148c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -97,15 +97,15 @@ jobs:
- name: Build x64 with Node.js ${{ matrix.node-version}}
if: contains(matrix.runtime, 'x64')
run: yarn run build --if-present
run: yarn run build
- name: Build ARMv7l with Node.js ${{ matrix.node-version}}
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
run: yarn run build:arm32 --if-present
run: yarn run build:arm32
- name: Build ARM64 with Node.js ${{ matrix.node-version}}
if: contains(matrix.runtime, 'arm64')
run: yarn run build:arm64 --if-present
run: yarn run build:arm64
- name: Upload Linux .zip x64 Artifact
uses: actions/upload-artifact@v3

View File

@ -65,15 +65,15 @@ jobs:
- name: Build x64 with Node.js ${{ matrix.node-version}}
if: contains(matrix.runtime, 'x64')
run: yarn run build --if-present
run: yarn run build
- name: Build ARMv7l with Node.js ${{ matrix.node-version}}
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
run: yarn run build:arm32 --if-present
run: yarn run build:arm32
- name: Build ARM64 with Node.js ${{ matrix.node-version}}
if: contains(matrix.runtime, 'arm64')
run: yarn run build:arm64 --if-present
run: yarn run build:arm64
- name: Upload AppImage x64 Release
uses: actions/upload-release-asset@v1