fix: Cancel condition for platform upload

This commit is contained in:
Ben Woo 2023-08-23 13:00:47 +08:00
parent f67d8efb44
commit d5d1c94566
No known key found for this signature in database
GPG Key ID: FB2A3645536E12C8

View File

@ -53,7 +53,7 @@ jobs:
fi
- name: Upload to Modrinth
if: ${{ !cancelled() || inputs.upload_modrinth == 'true' }}
if: ${{ !cancelled() && inputs.upload_modrinth == 'true' }}
uses: benwoo1110/modrinth-upload-action@v1
with:
api_token: ${{ secrets.MODRINTH_TOKEN }}
@ -67,7 +67,7 @@ jobs:
loaders: bukkit, spigot, paper
- name: Upload to DBO
if: ${{ !cancelled() || inputs.upload_dbo == 'true' }}
if: ${{ !cancelled() && inputs.upload_dbo == 'true' }}
uses: benwoo1110/dbo-upload-action@v1
with:
api_token: ${{ secrets.DBO_UPLOAD_API_TOKEN }}