aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 2 insertions, 0 deletions
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"