From d5d1c94566fa5148b4753afb6db0c82449d672e9 Mon Sep 17 00:00:00 2001 From: Ben Woo <30431861+benwoo1110@users.noreply.github.com> Date: Wed, 23 Aug 2023 13:00:47 +0800 Subject: [PATCH] fix: Cancel condition for platform upload --- .github/workflows/call.platform_uploads.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/call.platform_uploads.yml b/.github/workflows/call.platform_uploads.yml index 27f2463a..7ecbfabf 100644 --- a/.github/workflows/call.platform_uploads.yml +++ b/.github/workflows/call.platform_uploads.yml @@ -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 }}