From 463c81c157a2c6d7f9a61701a04907c31449a67e Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Tue, 14 Mar 2023 15:11:32 +0100 Subject: [PATCH] Fix path to hash files --- composite/action.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/composite/action.yml b/composite/action.yml index 3fd142bf..2c7f456c 100644 --- a/composite/action.yml +++ b/composite/action.yml @@ -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: | @@ -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: |