mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
ci: disable snap on arm64
This commit is contained in:
36
.github/workflows/desktop.publish.yml
vendored
36
.github/workflows/desktop.publish.yml
vendored
@@ -234,7 +234,7 @@ jobs:
|
|||||||
working-directory: ./apps/desktop
|
working-directory: ./apps/desktop
|
||||||
|
|
||||||
build-linux-x64:
|
build-linux-x64:
|
||||||
name: Build for Linux
|
name: Build for Linux x64
|
||||||
needs: build
|
needs: build
|
||||||
if: inputs.build-linux
|
if: inputs.build-linux
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
@@ -298,7 +298,7 @@ jobs:
|
|||||||
working-directory: ./apps/desktop
|
working-directory: ./apps/desktop
|
||||||
|
|
||||||
build-linux-arm64:
|
build-linux-arm64:
|
||||||
name: Build for Linux
|
name: Build for Linux arm64
|
||||||
needs: build
|
needs: build
|
||||||
if: inputs.build-linux
|
if: inputs.build-linux
|
||||||
runs-on: ubuntu-22.04-arm
|
runs-on: ubuntu-22.04-arm
|
||||||
@@ -310,13 +310,13 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: ./.github/actions/setup-node-with-cache
|
uses: ./.github/actions/setup-node-with-cache
|
||||||
|
|
||||||
- name: Setup Snapcraft Auth
|
# - name: Setup Snapcraft Auth
|
||||||
if: inputs.publish-snap
|
# if: inputs.publish-snap
|
||||||
run: echo "SNAPCRAFT_STORE_CREDENTIALS=${{ secrets.snapcraft_token }}" >> $GITHUB_ENV
|
# run: echo "SNAPCRAFT_STORE_CREDENTIALS=${{ secrets.snapcraft_token }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install Snapcraft
|
# - name: Install Snapcraft
|
||||||
uses: samuelmeuli/action-snapcraft@v1
|
# uses: samuelmeuli/action-snapcraft@v1
|
||||||
if: inputs.publish-snap
|
# if: inputs.publish-snap
|
||||||
|
|
||||||
- name: Download build
|
- name: Download build
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
@@ -338,11 +338,11 @@ jobs:
|
|||||||
run: npx nx run release --project @notesnook/desktop
|
run: npx nx run release --project @notesnook/desktop
|
||||||
working-directory: ./apps/desktop
|
working-directory: ./apps/desktop
|
||||||
|
|
||||||
- name: Build snap
|
# - name: Build snap
|
||||||
if: inputs.publish-snap
|
# if: inputs.publish-snap
|
||||||
run: |
|
# run: |
|
||||||
yarn electron-builder --config=electron-builder.config.js --linux snap:arm64 -p never
|
# yarn electron-builder --config=electron-builder.config.js --linux snap:arm64 -p never
|
||||||
working-directory: ./apps/desktop
|
# working-directory: ./apps/desktop
|
||||||
|
|
||||||
- name: Build AppImage
|
- name: Build AppImage
|
||||||
env:
|
env:
|
||||||
@@ -355,11 +355,11 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
working-directory: ./apps/desktop
|
working-directory: ./apps/desktop
|
||||||
|
|
||||||
- name: Publish on Snapcraft
|
# - name: Publish on Snapcraft
|
||||||
if: inputs.publish-snap
|
# if: inputs.publish-snap
|
||||||
run: |
|
# run: |
|
||||||
snapcraft upload --release=stable ./output/notesnook_linux_arm64.snap
|
# snapcraft upload --release=stable ./output/notesnook_linux_arm64.snap
|
||||||
working-directory: ./apps/desktop
|
# working-directory: ./apps/desktop
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
name: Build for Windows
|
name: Build for Windows
|
||||||
|
|||||||
Reference in New Issue
Block a user