aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJNNGL <45935949+JNNGL@users.noreply.github.com>2023-01-22 21:17:38 +1100
committerGitHub <noreply@github.com>2023-01-22 21:17:38 +1100
commit6e20aed94c7ce313dd280546e2dd537d35cfb002 (patch)
tree551b76a9ed8aebff3ad9a6fe5109f611d7edb4fd
parente6074062a2bf6ff578da88426269cd4dd4d6657d (diff)
downloadLimboAuth-6e20aed94c7ce313dd280546e2dd537d35cfb002.tar.gz
LimboAuth-6e20aed94c7ce313dd280546e2dd537d35cfb002.tar.bz2
LimboAuth-6e20aed94c7ce313dd280546e2dd537d35cfb002.zip
[skip ci] Release dev-build only on push
-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"