Run upload to platform even if the other fails

This commit is contained in:
Ben Woo 2023-08-23 11:05:25 +08:00
parent db89482e29
commit 9c3914d409
No known key found for this signature in database
GPG Key ID: FB2A3645536E12C8

View File

@ -59,7 +59,7 @@ jobs:
echo "release_type: ${{ steps.parse-release-type.outputs.release_type }}"
- name: Upload to Modrinth
if: inputs.upload_modrinth == 'true'
if: ${{ !cancelled() || inputs.upload_modrinth == 'true' }}
uses: benwoo1110/modrinth-upload-action@v1
with:
api_token: ${{ secrets.MODRINTH_TOKEN }}
@ -73,7 +73,7 @@ jobs:
loaders: bukkit, spigot, paper
- name: Upload to DBO
if: inputs.upload_dbo == 'true'
if: ${{ !cancelled() || inputs.upload_dbo == 'true' }}
uses: benwoo1110/dbo-upload-action@v1
with:
api_token: ${{ secrets.DBO_UPLOAD_API_TOKEN }}