diff --git a/.github/workflows/desktop.publish.yml b/.github/workflows/desktop.publish.yml index 2b9bac0739..6b293a8e46 100644 --- a/.github/workflows/desktop.publish.yml +++ b/.github/workflows/desktop.publish.yml @@ -126,7 +126,7 @@ jobs: CSC_KEY_PASSWORD: ${{ secrets.mac_certs_password }} run: | npx nx run release --project @notesnook/desktop -- --variant=mas - npm run builder -- --mac mas --universal -p never + npx electron-builder --mac mas --universal -p never working-directory: ./apps/desktop - name: Build zip and dmg @@ -140,9 +140,9 @@ jobs: run: | npx nx run release --project @notesnook/desktop if [ ${{ inputs.publish-github }} == true ]; then - npm run builder -- --mac zip dmg --arm64 --x64 -p always + npx electron-builder --mac zip dmg --arm64 --x64 -p always else - npm run builder -- --mac zip dmg --arm64 --x64 -p never + npx electron-builder --mac zip dmg --arm64 --x64 -p never fi working-directory: ./apps/desktop @@ -197,7 +197,7 @@ jobs: - name: Build snap if: inputs.publish-snap run: | - npm run builder -- --linux snap:x64 -p never + npx electron-builder --linux snap:x64 -p never working-directory: ./apps/desktop - name: Build AppImage @@ -205,9 +205,9 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | if [ ${{ inputs.publish-github }} == true ]; then - npm run builder -- --linux AppImage:x64 AppImage:arm64 -p always + npx electron-builder --linux AppImage:x64 AppImage:arm64 -p always else - npm run builder -- --linux AppImage:x64 AppImage:arm64 -p never + npx electron-builder --linux AppImage:x64 AppImage:arm64 -p never fi working-directory: ./apps/desktop