Thanks to visit codestin.com
Credit goes to github.com

Skip to content

remove publish

remove publish #17

Workflow file for this run

name: Application Build
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
python-version: ["3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pyinstaller
- name: Build executable
run: |
python -m PyInstaller main.spec
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: my-python-app-${{ matrix.os }}
path: |
dist/main.exe
dist/main
if-no-files-found: ignore