new build
This commit is contained in:
parent
901c536974
commit
6b609a1877
39
.github/workflows/build-linux.yml
vendored
Normal file
39
.github/workflows/build-linux.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
||||||
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||||
|
|
||||||
|
name: TheDesk Build on Linux
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- created
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [14.x]
|
||||||
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- run: cd app && yarn
|
||||||
|
- run: cd app && yarn build:all
|
||||||
|
- uses: shogo82148/actions-upload-release-asset@v1
|
||||||
|
with:
|
||||||
|
upload_url: ${{ github.event.release.upload_url }}
|
||||||
|
asset_path: "build/*.zip"
|
||||||
|
- uses: shogo82148/actions-upload-release-asset@v1
|
||||||
|
with:
|
||||||
|
upload_url: ${{ github.event.release.upload_url }}
|
||||||
|
asset_path: "build/*.snap"
|
||||||
|
- uses: shogo82148/actions-upload-release-asset@v1
|
||||||
|
with:
|
||||||
|
upload_url: ${{ github.event.release.upload_url }}
|
||||||
|
asset_path: "build/*.AppImage"
|
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||||
|
|
||||||
name: TheDesk Build
|
name: TheDesk Build on Windows
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
|
|
|
@ -37,7 +37,6 @@ const config = {
|
||||||
artifactName: 'TheDesk-setup.${ext}',
|
artifactName: 'TheDesk-setup.${ext}',
|
||||||
},
|
},
|
||||||
linux: {
|
linux: {
|
||||||
icon: 'build/icons',
|
|
||||||
target: ['zip', 'appImage', 'snap', 'deb'],
|
target: ['zip', 'appImage', 'snap', 'deb'],
|
||||||
category: 'Network',
|
category: 'Network',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user