Skip to content

Commit

Permalink
Try to move checkout out of the way of the original checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
zerok committed Mar 7, 2024
1 parent 57cb5f2 commit b8e7b2b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions actions/trigger-argo-workflow/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ runs:
with:
repository: ${{ env.action_repo }}
ref: ${{ env.action_ref }}
path: ".actions/shared-workflows"

- name: Restore cache
id: restore
Expand Down Expand Up @@ -102,12 +103,12 @@ runs:
with:
check-latest: true
cache-dependency-path: |
actions/trigger-argo-workflow/go.sum
go-version-file: "actions/trigger-argo-workflow/go.mod"
.actions/shared-workflows/actions/trigger-argo-workflow/go.sum
go-version-file: ".actions/shared-workflows/actions/trigger-argo-workflow/go.mod"

- name: Get Argo Token
id: get-argo-token
uses: "./actions/get-vault-secrets"
uses: "actions/get-vault-secrets"
with:
vault_instance: ${{ inputs.instance }}
repo_secrets: |
Expand All @@ -117,7 +118,7 @@ runs:
id: run
shell: bash
run: |
cd actions/trigger-argo-workflow
cd .actions/shared-workflows/actions/trigger-argo-workflow
# Split the parameters into an array and pass them to the action as --parameter PARAM
while read -r line; do
Expand Down

0 comments on commit b8e7b2b

Please sign in to comment.