Publish preview only if success

This commit is contained in:
Kas-tle 2024-05-27 00:57:08 -07:00 committed by GitHub
parent fd438b81f0
commit 2a11f71f63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}