Skip to content

Commit

Permalink
wip debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jku committed Sep 22, 2023
1 parent ae99473 commit 893798b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions actions/online-sign/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 893798b

Please sign in to comment.