-
-
Notifications
You must be signed in to change notification settings - Fork 2
55 lines (49 loc) · 1.28 KB
/
Pack.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
name: Packs
on: [push]
jobs:
job1:
name: My first job
runs-on: macos-11
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: 设置Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: 安装依赖库
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install py2app
- name: 检查版本
run: |
pip list
- name: Mac App打包
run: |
python .github/Pack-Mac.py py2app
job2:
name: My first job1
runs-on: macos-12
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: 设置Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: 安装依赖库
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install py2app
- name: 检查版本
run: |
pip list
- name: Mac App打包
run: |
python .github/Pack-Mac.py py2app