From 893798bbf7290cc2f562907d31190e4d6921ac3b Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Fri, 22 Sep 2023 10:05:03 +0300 Subject: [PATCH] wip debug --- actions/online-sign/action.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/actions/online-sign/action.yml b/actions/online-sign/action.yml index 76067cd0..ff163956 100644 --- a/actions/online-sign/action.yml +++ b/actions/online-sign/action.yml @@ -5,6 +5,10 @@ inputs: force_publish: description: 'Publish even when snapshot and timestamp are not created' required: true + test_force_publish: + description: 'Publish even when snapshot and timestamp are not created' + required: false + default: false gcp_workload_identity_provider: description: 'Google Cloud workload identity provider' required: false @@ -55,6 +59,29 @@ runs: run: | git show --oneline --no-patch HEAD git push origin HEAD:publish + echo move-publish-branch inputs.force_publish ${{ inputs.force_publish }} + echo move-publish-branch env.ONLINE_SIGNED ${{ env.ONLINE_SIGNED }} + shell: bash + + - id: test + if: inputs.test_force_publish || env.ONLINE_SIGNED == 'true' + run: | + echo testing: inputs.test_force_publish ${{ inputs.test_force_publish }} + echo testing: env.ONLINE_SIGNED ${{ env.ONLINE_SIGNED }} + shell: bash + + - id: test2 + if: ${{ inputs.test_force_publish || env.ONLINE_SIGNED == 'true' }} + run: | + echo testing: inputs.test_force_publish ${{ inputs.test_force_publish }} + echo testing: env.ONLINE_SIGNED ${{ env.ONLINE_SIGNED }} + shell: bash + + - id: test3 + if: ${{ inputs.test_force_publish }} || ${{ env.ONLINE_SIGNED == 'true' }} + run: | + echo testing: inputs.test_force_publish ${{ inputs.test_force_publish }} + echo testing: env.ONLINE_SIGNED ${{ env.ONLINE_SIGNED }} shell: bash - id: dispatch-publish-workflow