Skip to content

Commit

Permalink
Add prefix to checkout path
Browse files Browse the repository at this point in the history
  • Loading branch information
gjonathanhong committed Jul 2, 2024
1 parent a598285 commit ccd648b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/load-workflow-variables/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ runs:
uses: 'actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11' # ratchet:actions/checkout@v4
with:
ref: '${{ github.event.repository.default_branch }}'
path: '${{ github.sha }}'
path: 'load-workflow-variables/${{ github.sha }}'
sparse-checkout: |
${{ inputs.filepath }}
sparse-checkout-cone-mode: 'false'
Expand All @@ -46,7 +46,7 @@ runs:
shell: 'bash'
env:
WORKING_DIRECTORY: '${{ inputs.working_directory }}'
FILEPATH: '${{ github.sha }}/${{ inputs.filepath }}'
FILEPATH: 'load-workflow-variables/${{ github.sha }}/${{ inputs.filepath }}'
FAIL_ON_MISSING: '${{ inputs.fail_on_missing }}'
run: |-
FILEPATH=$(realpath "${FILEPATH}")
Expand Down

0 comments on commit ccd648b

Please sign in to comment.