diff --git a/.github/workflows/prod-desktop.yml b/.github/workflows/prod-desktop.yml index 3fd5f81d..739b1bea 100644 --- a/.github/workflows/prod-desktop.yml +++ b/.github/workflows/prod-desktop.yml @@ -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 \ No newline at end of file + run: cd ./materialious/electron && npm run electron:make diff --git a/.github/workflows/pull-desktop.yml b/.github/workflows/pull-desktop.yml index f7542fd2..3e9d1295 100644 --- a/.github/workflows/pull-desktop.yml +++ b/.github/workflows/pull-desktop.yml @@ -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 }}