From 4e14071b02f918d6ca2b5863679dba947dbafc51 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/actions/online-sign/action.yml b/actions/online-sign/action.yml index 76067cd0..7ca4eb16 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,27 @@ 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 == true + run: | + echo testing2: inputs.test_force_publish ${{ inputs.test_force_publish }} + shell: bash + + - id: test3 + if: env.ONLINE_SIGNED == 'true' + run: | + echo testing3: env.ONLINE_SIGNED ${{ env.ONLINE_SIGNED }} shell: bash - id: dispatch-publish-workflow