Bump ncipollo/release-action from 1.14.0 to 1.15.0 #8
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: Build Python app | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build app on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["windows-latest", "macos-latest", "ubuntu-latest"] | |
steps: | |
- name: Checkout ref | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
ref: ${{ github.sha }} | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install requirements | |
run: | | |
pip install -r requirements.txt | |
- name: PyInstaller | |
run: pyinstaller main.py --name ProgrammingDictionary@${{ github.sha }}_${{ matrix.os }} | |
- name: Upload Builds | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.os }} build | |
path: build/* | |
- name: Upload Dists | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.os }} dist | |
path: dist/* |