Fixed workflow build
Some checks failed
/ build (push) Successful in 2m16s
/ release (push) Failing after 5s

This commit is contained in:
lichenblankie 2026-04-11 03:52:03 +00:00
parent 976300461f
commit 24f89c46f6

View file

@ -10,10 +10,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: https://code.forgejo.org/actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
uses: https://code.forgejo.org/actions/setup-python@v5
with:
python-version: '3.11'
@ -26,12 +26,10 @@ jobs:
run: |
pyinstaller --onefile --console --name TinyWeb app.py
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: TinyWeb-linux-x64
path: dist/TinyWeb
if-no-files-found: error
- name: Prepare artifact
run: |
cp dist/TinyWeb TinyWeb-linux-x64
chmod +x TinyWeb-linux-x64
release:
needs: build
@ -39,16 +37,11 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: TinyWeb-linux-x64
- name: Make executable
run: chmod +x TinyWeb-linux-x64
- name: Create Release
uses: actions/forgejo-release@v2
uses: https://code.forgejo.org/actions/forgejo-release@v2
with:
direction: upload
release-dir: .