tools for exporting godot projects via Github Actions
fix itch.io pushing in callable workflow
bendn 2022-10-11
parent 5f09d4d · commit 7360b1d
-rw-r--r--.github/workflows/callable-export.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/.github/workflows/callable-export.yml b/.github/workflows/callable-export.yml
index e383ae4..4e72a3b 100644
--- a/.github/workflows/callable-export.yml
+++ b/.github/workflows/callable-export.yml
@@ -91,15 +91,11 @@ jobs:
push-itch:
needs: [linux, android, windows, mac, web]
+ if: always() && inputs.butler-api-key # run even if the previous jobs were skipped
name: Push to itch.io
runs-on: ubuntu-20.04
steps:
- - name: Check for api key
- id: secret
- run: echo '::set-output name=secret::${{ secrets.butler-api-key }}'
-
- name: Push
- if: steps.secret.outputs.secret
uses: bend-n/godot-actions/.github/actions/itch-push@main
with:
api-key: ${{ secrets.butler-api-key }}