From 2780a91363b55ad03cf5005981cdfaf141bee8db Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Sat, 16 Oct 2021 12:48:07 -0700 Subject: [PATCH] Change file pathing to see if hashFiles works. --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 7acc611..0cfa066 100644 --- a/action.yml +++ b/action.yml @@ -28,7 +28,7 @@ runs: shell: bash - name: Create Cache Key - run: echo ${{ inputs.packages }} "cache-apt-pkgs-version:${{ inputs.version }}" | sed 's/[\s,]+/\n/g' | sort > /tmp/package_list.txt + run: echo ${{ inputs.packages }} "cache-apt-pkgs-version:${{ inputs.version }}" | sed 's/[\s,]+/\n/g' | sort > package_list.txt shell: bash - name: Load Package Cache @@ -36,7 +36,7 @@ runs: uses: actions/cache@v2 with: path: ~/cache-apt-pkgs - key: cache-apt-pkgs_${{ hashFiles('/tmp/package_list.txt') }} + key: cache-apt-pkgs_${{ hashFiles('package_list.txt') }} - name: Load Packages run: |