Merge pull request #11 from cocktail-collective/dev #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PyInstaller | |
on: | |
push: | |
tags: | |
- 'v[0-9].*' | |
jobs: | |
pyinstaller: | |
permissions: | |
contents: write | |
name: Bundle on ${{ matrix.os }} / ${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
python-version: ["3.10"] | |
fail-fast: false | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4.1.1 | |
with: | |
lfs: 'true' | |
- name: Install Python | |
uses: actions/setup-python@v4.7.1 | |
with: | |
python-version: "3.10" | |
- name: Build | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e.[dist] | |
python ci/build.py | |
python ci/release.py ${{ github.ref_name }} |