This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
name: release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
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}}'
|
||||
Reference in New Issue
Block a user