Change file pathing to see if hashFiles works.

This commit is contained in:
awalsh128 2021-10-16 12:48:07 -07:00
parent 6dbaadfc1e
commit 2780a91363

View file

@ -28,7 +28,7 @@ runs:
shell: bash shell: bash
- name: Create Cache Key - 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 shell: bash
- name: Load Package Cache - name: Load Package Cache
@ -36,7 +36,7 @@ runs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ~/cache-apt-pkgs path: ~/cache-apt-pkgs
key: cache-apt-pkgs_${{ hashFiles('/tmp/package_list.txt') }} key: cache-apt-pkgs_${{ hashFiles('package_list.txt') }}
- name: Load Packages - name: Load Packages
run: | run: |