-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (33 loc) · 926 Bytes
/
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
name: build
on:
release:
types: [published]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
- name: Run build on ${{ matrix.os }}
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install pyinstaller
pip install pillow
pip3 install -r requirements.txt
- name: Build tpp using tppbuild
run: |
python3 ./src/build.py
ls ./src
- name: uploading tpp for ${{ matrix.os}}
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "./src/*.tpp"
overwrite: true
file_glob: true