Merge pull request #2965 from Multiverse/fix-cancel-logic

This commit is contained in:
Ben Woo 2023-08-23 19:43:48 +08:00 committed by GitHub
commit 743feea807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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