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: