Skip to content

Commit

Permalink
Bad composer lock hash path
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbaggett committed May 18, 2024
1 parent 5d5514b commit cc53eb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ runs:
tools: ${{ inputs.php_tools }}
- id: composer-cache-find
name: "Find Composer Cache"
if: ${{ steps.read-php-version.outputs.has_composer }}
shell: bash
run: |
{
echo "dir=$(composer config cache-files-dir)"
echo "key=${{ runner.os }}-${{ inputs.working_directory }}-composer-${{ hashFiles('${{ inputs.working_directory }}/composer.lock') }}"
echo "key=${{ runner.os }}-${{ inputs.working_directory }}-composer-${{ hashFiles('**/composer.lock') }}"
echo "restore-key=${{ runner.os }}-${{ inputs.working_directory }}-composer-"
} >> $GITHUB_OUTPUT
- id: composer-cache-restore
Expand Down

0 comments on commit cc53eb2

Please sign in to comment.