chore: workflow

This commit is contained in:
Mo
2022-06-13 09:57:08 -05:00
parent 089eb571aa
commit 9165b062d0

View File

@@ -14,12 +14,7 @@ jobs:
- uses: actions/setup-node@v2
with:
registry-url: 'https://registry.npmjs.org'
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Install FPM
run: sudo gem install fpm -f
- run: yarn install
- run: yarn build:web:all
- name: Install Snap Deps
run: |
@@ -27,11 +22,10 @@ jobs:
sudo lxd init --auto
- name: SnapArm64
run: |
yarn run webpack --config desktop.webpack.prod.js --env snap
yarn run electron-builder --linux --arm64 -c.linux.target=snap --publish=never
env:
npm_config_target_arch: 'arm64'
SNAPCRAFT_BUILD_ENVIRONMENT: 'lxd'
SNAPCRAFT_BUILD_ENVIRONMENT: 'managed-host'
- name: Upload
uses: actions/upload-artifact@v3.0.0