Skip to content

Commit

Permalink
Fix path to hash files
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Mar 14, 2023
1 parent f3d26d2 commit 463c81c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions composite/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ outputs:
runs:
using: 'composite'
steps:
- name: List files
run: find "$GITHUB_ACTION_PATH"
shell: bash

- name: Check for Python3
id: python
run: |
Expand Down Expand Up @@ -185,7 +181,7 @@ runs:
continue-on-error: true
with:
path: ${{ steps.os.outputs.pip-cache }}
key: enricomi-publish-action-${{ runner.os }}-${{ runner.arch }}-pip-${{ steps.python.outputs.version }}-${{ hashFiles('$GITHUB_ACTION_PATH/**/requirements.txt', '$GITHUB_ACTION_PATH/composite/action.yml') }}
key: enricomi-publish-action-${{ runner.os }}-${{ runner.arch }}-pip-${{ steps.python.outputs.version }}-${{ hashFiles(env.GITHUB_ACTION_PATH + '/../python/requirements.txt', env.GITHUB_ACTION_PATH + '/action.yml') }}

- name: Install Python dependencies
run: |
Expand Down

0 comments on commit 463c81c

Please sign in to comment.