From 2a11f71f63a57fbddf8c5407b076ed19ca3b0114 Mon Sep 17 00:00:00 2001 From: Kas-tle <26531652+Kas-tle@users.noreply.github.com> Date: Mon, 27 May 2024 00:57:08 -0700 Subject: [PATCH] Publish preview only if success --- .github/workflows/preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 88fb7489810..a90d60ef7e2 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -67,6 +67,7 @@ jobs: releaseProject: 'geyserpreview' releaseVersion: ${{ steps.setvars.outputs.VERSION }} - name: Publish to Downloads API + if: success() uses: GeyserMC/actions/upload-release@master with: username: ${{ vars.DOWNLOADS_USERNAME }}