From 5c37b2fca2e9d5eb084fc985fef3b97953b8488b Mon Sep 17 00:00:00 2001 From: Jonathan Branan Date: Mon, 5 Aug 2024 11:30:43 -0500 Subject: [PATCH] Updated build.yaml --- .gitea/workflows/build.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7ae1ec5..0307b38 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,5 +1,8 @@ name: Build -on: push +on: + push: + tags: + - '*' jobs: build-linux-binary: @@ -18,7 +21,6 @@ jobs: - run: pip install -r requirements.txt - run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py - uses: softprops/action-gh-release@v2 - if: startsWith(gitea.ref, 'refs/tags/') with: files: ${{ gitea.workspace }}/dist/inex @@ -35,6 +37,5 @@ jobs: - run: python -m pip install -r requirements.txt - run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py - uses: softprops/action-gh-release@v2 - if: startsWith(gitea.ref, 'refs/tags/') with: files: ${{ gitea.workspace }}/dist/inex.exe \ No newline at end of file