This commit is contained in:
21
.gitea/workflows/build.yaml
Normal file
21
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Build 2 exe
|
||||
run-name: building text2image
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: windows
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@main
|
||||
- name: Building exe file
|
||||
run: |
|
||||
python ${{ gitea.workspace }}\build.py
|
||||
mkdir ${{ gitea.workspace }}\dist\images
|
||||
7z -tzip a text2image ${{ gitea.workspace }}\dist\*
|
||||
ls ${{ gitea.workspace }}
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
${{ gitea.workspace }}\text2image.zip
|
||||
Reference in New Issue
Block a user