Added from other branch
This commit is contained in:
parent
535c5bb4d6
commit
29aa548e54
2 changed files with 25 additions and 0 deletions
22
.forgejo/workflows/release.yml
Normal file
22
.forgejo/workflows/release.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
upload-release:
|
||||||
|
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/Scripts/pyinstaller.exe --onefile main.py
|
||||||
|
- run: mv ./dist/main.exe ./ImageGen.exe
|
||||||
|
- run: zip /dist/release/Winodws.zip ./fonts ./templets ./Numbers.xlsx ./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 }}
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -7,3 +7,6 @@ __pycache__
|
||||||
convert.py
|
convert.py
|
||||||
blank.png
|
blank.png
|
||||||
imageGen.py
|
imageGen.py
|
||||||
|
build
|
||||||
|
dist
|
||||||
|
main.spec
|
||||||
Loading…
Add table
Add a link
Reference in a new issue