Skip to content

Commit

Permalink
Fix path quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
sdlaver committed Jul 3, 2022
1 parent be767fb commit 44999b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
path: .commit-artifact-to-branch-${{ inputs.artifact-name }}-${{ inputs.branch }}
token: ${{ inputs.token }}
- name: Clear dest
run: rm -drfv './${{ inputs.dest }}/*'
run: rm -rfv ./'${{ inputs.dest }}'/*
shell: bash
working-directory: .commit-artifact-to-branch-${{ inputs.artifact-name }}-${{ inputs.branch }}
- uses: actions/download-artifact@v3
Expand All @@ -55,7 +55,7 @@ runs:
run: |
git config user.name '${{ inputs.commit-author-name }}'
git config user.email '${{ inputs.commit-author-email }}'
git add './${{ inputs.dest }}'
git add ./'${{ inputs.dest }}'
git diff-index --quiet --cached HEAD -- && {
echo 'Nothing to commit; exiting'
exit 0
Expand Down

0 comments on commit 44999b2

Please sign in to comment.