-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (46 loc) · 1.39 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: "Create releases"
on:
push:
tags:
- '*'
jobs:
build:
name: Build application
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
runs-on: ${{ matrix.os }}
steps:
- name: Install linux dependencies
run: sudo apt-get install fuse libfuse2 libopengl0 libegl1 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
npm install
# - name: Set version
# run: |
# npm version --no-git-tag-version from-git
- name: Apply packer patch (upgrade linuxqtdeploy to continuous)
run: |
npm run patch
- name: Build application
run: |
npm run build
- name: Package application
run: |
echo $VERSION
npm run package
env:
VERSION: ${{ github.ref_name }}
# - name: Upload release
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ needs.release.outputs.upload_url }}
# asset_path: ./${{ matrix.asset_name }}.tar.gz
# asset_name: ${{ matrix.asset_name }}.tar.gz
# asset_content_type: application/gzip