Add linux-arm64 building for snap
This commit is contained in:
@@ -18,12 +18,15 @@ jobs:
|
||||
node-version: [20]
|
||||
runtime:
|
||||
- linux-x64
|
||||
- linux-arm64
|
||||
- win-x64
|
||||
- osx-x64
|
||||
|
||||
include:
|
||||
- runtime: linux-x64
|
||||
os: ubuntu-latest
|
||||
- runtime: linux-arm64
|
||||
os: ubuntu-latest
|
||||
- runtime: osx-x64
|
||||
os: macOS-latest
|
||||
- runtime: win-x64
|
||||
@@ -65,13 +68,13 @@ jobs:
|
||||
if: runner.os == 'Windows'
|
||||
|
||||
- name: Install snapcraft
|
||||
if: matrix.runtime == 'linux-x64'
|
||||
if: matrix.runtime == 'linux-x64' || matrix.runtime == 'linux-arm64'
|
||||
run: sudo snap install snapcraft --classic
|
||||
|
||||
- name: Set up snapcraft environment variables
|
||||
run: echo "SNAPCRAFT_STORE_CREDENTIALS=${{ secrets.SNAPCRAFT_LOGIN }}" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
if: matrix.runtime == 'linux-x64'
|
||||
if: matrix.runtime == 'linux-x64' || matrix.runtime == 'linux-arm64'
|
||||
|
||||
- name: Build desktop packages
|
||||
run: cd ./materialious/electron && npm run electron:make
|
||||
run: cd ./materialious/electron && npm run electron:make
|
||||
|
||||
@@ -16,17 +16,19 @@ jobs:
|
||||
node-version: [20]
|
||||
runtime:
|
||||
- linux-x64
|
||||
- linux-arm64
|
||||
- win-x64
|
||||
- osx-x64
|
||||
|
||||
include:
|
||||
- runtime: linux-x64
|
||||
os: ubuntu-latest
|
||||
- runtime: osx-x64
|
||||
os: macOS-latest
|
||||
- runtime: win-x64
|
||||
os: windows-latest
|
||||
|
||||
- runtime: linux-x64
|
||||
os: ubuntu-latest
|
||||
- runtime: linux-arm64
|
||||
os: ubuntu-latest
|
||||
- runtime: osx-x64
|
||||
os: macOS-latest
|
||||
- runtime: win-x64
|
||||
os: windows-latest
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user