Change file pathing to see if hashFiles works.
This commit is contained in:
parent
6dbaadfc1e
commit
2780a91363
1 changed files with 2 additions and 2 deletions
|
@ -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: |
|
||||||
|
|
Loading…
Reference in a new issue