From ce30cda4e6c7d977c6c5aa806954a30f2337bb2c Mon Sep 17 00:00:00 2001 From: LunaChocken Date: Sat, 7 Jun 2025 18:53:54 +0100 Subject: [PATCH] testing --- .gitea/workflows/pyinstaller.yml | 3 +- .gitea/workflows/pyinstaller_release.yml | 35 ++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/pyinstaller_release.yml diff --git a/.gitea/workflows/pyinstaller.yml b/.gitea/workflows/pyinstaller.yml index cd2196c..d3db475 100644 --- a/.gitea/workflows/pyinstaller.yml +++ b/.gitea/workflows/pyinstaller.yml @@ -30,4 +30,5 @@ jobs: uses: actions/upload-artifact@v3 with: name: steamPathCLI.sh - path: dist/steamPathCLI.sh \ No newline at end of file + path: dist/steamPathCLI.sh + diff --git a/.gitea/workflows/pyinstaller_release.yml b/.gitea/workflows/pyinstaller_release.yml new file mode 100644 index 0000000..d1d5e8c --- /dev/null +++ b/.gitea/workflows/pyinstaller_release.yml @@ -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}}' \ No newline at end of file