-
Notifications
You must be signed in to change notification settings - Fork 4
49 lines (39 loc) · 1.14 KB
/
pyinstaller-build-mac.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: Package Application - Mac OS
on:
workflow_dispatch:
push:
jobs:
mac-build:
name: build Mac OS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Git checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: git
run: |
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
git --version
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements-nightly.txt
- name: pyinstaller build
run: |
python build.py
- name: Move files
run: |
mv ./dist ./wme-MacOS
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: "wme-mac-2.4.0 - ${{github.run_number}}"
path: wme-MacOS