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 4e14071
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 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,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
Expand Down

0 comments on commit 4e14071

Please sign in to comment.