thedesk/.github/workflows/build.yml

36 lines
1.0 KiB
YAML
Raw Permalink Normal View History

2021-04-13 15:41:39 +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: Windows build
2021-04-13 15:41:39 +10:00
on:
release:
types:
- created
jobs:
build:
runs-on: windows-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
2021-04-13 15:52:58 +10:00
- run: cd app && yarn build:all
2021-04-13 15:41:39 +10:00
- uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
2021-04-13 15:52:58 +10:00
asset_path: "build/*.exe"
2021-04-13 15:41:39 +10:00
- uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
2021-04-13 15:52:58 +10:00
asset_path: "build/*.appx"