From dd2f95fc323692edaab772019064f0e71ea891c5 Mon Sep 17 00:00:00 2001 From: thx20001 Date: Wed, 4 Mar 2026 18:55:58 +0100 Subject: [PATCH] Test prerelease --- .gitea/workflows/{buildproject.yaml => MainRelease.yaml} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename .gitea/workflows/{buildproject.yaml => MainRelease.yaml} (88%) diff --git a/.gitea/workflows/buildproject.yaml b/.gitea/workflows/MainRelease.yaml similarity index 88% rename from .gitea/workflows/buildproject.yaml rename to .gitea/workflows/MainRelease.yaml index a7a972e..99593d8 100644 --- a/.gitea/workflows/buildproject.yaml +++ b/.gitea/workflows/MainRelease.yaml @@ -1,6 +1,11 @@ name: Build and Release Project run-name: Building and Releasing Main Branch 🚀 -on: [push] +on: + push: + branches-ignore: + - 'prerelease' + tags: + - '**' jobs: build: @@ -24,7 +29,7 @@ jobs: run: tar -cvzf ${{ matrix.publishprofile }}.tar.gz -C GiteaTest/publish . - name: Pack Windows Release if: ${{ matrix.publishprofile == 'PublishWinX64' }} - run: zip ${{ matrix.publishprofile }}.zip GiteaTest/publish/* + run: cd GiteaTest/publish/ && zip ../../${{ matrix.publishprofile }}.zip * - name: Release Files uses: akkuman/gitea-release-action@v1 with: