Skip to content

build

build #9

Workflow file for this run

name: build
on:
release:
types: [published]
permissions: write-all
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: Build tpp using build.py
run: |
python ./src/build.py
- name: Upload tpp for ${{ matrix.os }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "./*.tpp"
overwrite: true
file_glob: true