Auto-Slide-Tool/.forgejo/workflows/release.yml
Venrey 5820502c28
All checks were successful
/ compile-exe (push) Successful in 1m47s
Fix: Typo
2024-07-17 04:17:46 +00:00

24 lines
No EOL
1.1 KiB
YAML

on: [push]
jobs:
compile-exe:
runs-on: docker
container:
image: git.venreys-lair.xyz/venrey/pythoncrosscompile:latest
steps:
- run: mkdir -p /dist/release
- run: apt-get install zip git -y
- run: git clone https://git.venreys-lair.xyz/Venrey/Eddie-Roden-Slide-Tool .
- run: wine ~/.wine/drive_c/Program\ Files/Python312/python.exe -m pip install pillow openpyxl matplotlib
- run: wine ~/.wine/drive_c/Program\ Files/Python312/Scripts/pyinstaller.exe --clean --collect-all pillow --collect-all openpyxl --collect-all matplotlib main.py
- run: mv ./dist/main/main.exe ./ImageGen.exe
- run: mv ./dist/main/_internal ./
- run: zip -r /dist/release/windows.zip ./fonts ./templets ./Numbers.xlsx ./_internal ./ImageGen.exe
- uses: actions/forgejo-release@v2
with:
direction: upload
url: https://git.venreys-lair.xyz/
override: true
tag: latest
release-dir: /dist/release
release-notes: "Automated latest release"
token: ${{ secrets.GITHUB_TOKEN }}