-
Notifications
You must be signed in to change notification settings - Fork 5
59 lines (58 loc) · 1.79 KB
/
pyinstaller.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
50
51
52
53
54
55
56
57
58
59
on:
push:
branches:
- main
release:
types: [published]
jobs:
pyinstaller-build-mac:
runs-on: macos-latest
steps:
- name: Create Executable
uses: unofficial-rev-port/pyinstaller@v1.2
with:
python_ver: '3.12'
pyinstaller_ver: '==6.6.0'
spec: 'REVHubInterface.spec'
requirements: 'pyinstaller-build-reqs.txt'
clean_checkout: false
upload_exe_with_name: 'REVHubInterface_Mac_Binary'
- name: Make DMG
uses: unofficial-rev-port/create-dmg-action-fixed-icon@v0.1.0
with:
name: 'REVHubInterface'
srcdir: './dist/REVHubInterface.app'
- name: Upload DMG
uses: actions/upload-artifact@v4
with:
name: 'REVHubInterface_Mac_DMG'
path: './REVHubInterface.dmg'
pyinstaller-build-win:
runs-on: windows-latest
steps:
- name: Create Executable
uses: unofficial-rev-port/pyinstaller@v1.2
with:
python_ver: '3.12'
pyinstaller_ver: '==6.6.0'
spec: 'REVHubInterface.spec'
requirements: 'pyinstaller-build-reqs.txt'
clean_checkout: false
upload_exe_with_name: 'REVHubInterface_Windows'
pyinstaller-build-linux:
runs-on: ubuntu-latest
steps:
- name: Create Executable
uses: unofficial-rev-port/pyinstaller@v1.2
with:
python_ver: '3.12'
pyinstaller_ver: '==6.6.0'
spec: 'REVHubInterface.spec'
requirements: 'pyinstaller-build-reqs.txt'
clean_checkout: false
upload_exe_with_name: 'REVHubInterface_Linux'
- name: Upload version file for testing
uses: actions/upload-artifact@v4
with:
name: 'version'
path: './REVHubInterface/_version.py'