thedesk/.github/workflows/build-linux.yml

44 lines
1.3 KiB
YAML
Raw Normal View History

2021-04-13 17:16:22 +10:00
# 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
2021-04-15 15:30:29 +10:00
name: Linux build
2021-04-13 17:16:22 +10:00
on:
release:
types:
2021-04-15 14:58:07 +10:00
- created
2021-04-13 17:16:22 +10:00
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"
2021-04-15 14:51:38 +10:00
- uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: "build/*.deb"
2021-04-13 17:16:22 +10:00
- uses: shogo82148/actions-upload-release-asset@v1
2021-04-13 17:19:02 +10:00
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: "build/*.AppImage"