33 lines
801 B
YAML
33 lines
801 B
YAML
name: release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.11.0'
|
|
- name: Install dependencies
|
|
run: >
|
|
python -m pip install --upgrade pip
|
|
|
|
pip install . # Install dependencies; modify if using requirements.txt
|
|
|
|
- name: Package Application with PyInstaller
|
|
run: |
|
|
pyinstaller steamPathCLI.spec
|
|
uses: https://gitea.com/actions/release-action@main
|
|
with:
|
|
files: |-
|
|
dist/**
|
|
api_key: '${{secrets.RELEASE_TOKEN}}' |