blob: 2aa45cb1a41d345e3d2267a5e2acd4c7500834e1 (
plain)
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
50
51
52
53
|
name: Build and Release
on: [push, pull_request]
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup Qt environment
uses: jurplel/install-qt-action@v2
with:
version: '5.15.2'
- name: Build QtPass
run: |
qmake
make
copy README.md src\release\README.txt
copy LICENSE src\release\LICENSE.txt
- name: Install Inno Setup
run: choco install innosetup
- name: Create Installer with Inno Setup
run: ISCC.exe qtpass.iss
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: PyQtPass-Windows
path: release
- name: Upload Release Asset
uses: softprops/action-gh-release@v1
with:
files: Output\qtpass-*.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup Qt environment
uses: jurplel/install-qt-action@v2
with:
version: '5.15.2'
- name: Build QtPass
run: |
qmake
make
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: PyQtPass-macOS
path: release/
|