chore: workflow
This commit is contained in:
8
.github/workflows/desktop.release.test.yml
vendored
8
.github/workflows/desktop.release.test.yml
vendored
@@ -14,12 +14,7 @@ jobs:
|
|||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
registry-url: 'https://registry.npmjs.org'
|
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 install
|
||||||
- run: yarn build:web:all
|
|
||||||
|
|
||||||
- name: Install Snap Deps
|
- name: Install Snap Deps
|
||||||
run: |
|
run: |
|
||||||
@@ -27,11 +22,10 @@ jobs:
|
|||||||
sudo lxd init --auto
|
sudo lxd init --auto
|
||||||
- name: SnapArm64
|
- name: SnapArm64
|
||||||
run: |
|
run: |
|
||||||
yarn run webpack --config desktop.webpack.prod.js --env snap
|
|
||||||
yarn run electron-builder --linux --arm64 -c.linux.target=snap --publish=never
|
yarn run electron-builder --linux --arm64 -c.linux.target=snap --publish=never
|
||||||
env:
|
env:
|
||||||
npm_config_target_arch: 'arm64'
|
npm_config_target_arch: 'arm64'
|
||||||
SNAPCRAFT_BUILD_ENVIRONMENT: 'lxd'
|
SNAPCRAFT_BUILD_ENVIRONMENT: 'managed-host'
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v3.0.0
|
uses: actions/upload-artifact@v3.0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user