mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 18:55:30 +00:00
Change file pathing to see if hashFiles works.
This commit is contained in:
parent
6dbaadfc1e
commit
2780a91363
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue