Updated build.yaml
This commit is contained in:
parent
cd9c6d535e
commit
5c37b2fca2
@ -1,5 +1,8 @@
|
|||||||
name: Build
|
name: Build
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux-binary:
|
build-linux-binary:
|
||||||
@ -18,7 +21,6 @@ jobs:
|
|||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
- run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
|
- run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
|
||||||
- uses: softprops/action-gh-release@v2
|
- uses: softprops/action-gh-release@v2
|
||||||
if: startsWith(gitea.ref, 'refs/tags/')
|
|
||||||
with:
|
with:
|
||||||
files: ${{ gitea.workspace }}/dist/inex
|
files: ${{ gitea.workspace }}/dist/inex
|
||||||
|
|
||||||
@ -35,6 +37,5 @@ jobs:
|
|||||||
- run: python -m pip install -r requirements.txt
|
- run: python -m pip install -r requirements.txt
|
||||||
- run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
|
- run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
|
||||||
- uses: softprops/action-gh-release@v2
|
- uses: softprops/action-gh-release@v2
|
||||||
if: startsWith(gitea.ref, 'refs/tags/')
|
|
||||||
with:
|
with:
|
||||||
files: ${{ gitea.workspace }}/dist/inex.exe
|
files: ${{ gitea.workspace }}/dist/inex.exe
|
Loading…
x
Reference in New Issue
Block a user