From 6e20aed94c7ce313dd280546e2dd537d35cfb002 Mon Sep 17 00:00:00 2001 From: JNNGL <45935949+JNNGL@users.noreply.github.com> Date: Sun, 22 Jan 2023 21:17:38 +1100 Subject: [skip ci] Release dev-build only on push --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index afbd742..835eb68 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,12 +25,14 @@ jobs: name: LimboAuth Built On ${{ matrix.java }} JDK path: "build/libs/limboauth*.jar" - uses: dev-drprasad/delete-tag-and-release@v0.2.0 + if: ${{ github.event_name == 'push' }} with: delete_release: true tag_name: dev-build-jdk-${{ matrix.java }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Release the build + if: ${{ github.event_name == 'push' }} uses: ncipollo/release-action@v1 with: artifacts: "build/libs/limboauth*.jar" -- cgit