mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 18:55:30 +00:00
Append cache key directly to env.
This commit is contained in:
parent
ac4bf152a0
commit
407650fe3b
|
@ -31,7 +31,7 @@ runs:
|
|||
|
||||
- name: Create Cache Key
|
||||
run: |
|
||||
${{ github.action_path }}/create_cache_key.sh "${{ inputs.version }})" ${{ inputs.packages }} >> $GITHUB_ENV
|
||||
${{ github.action_path }}/create_cache_key.sh "${{ inputs.version }})" ${{ inputs.packages }}
|
||||
shell: bash
|
||||
|
||||
- name: Load Package Cache
|
||||
|
|
|
@ -18,4 +18,4 @@ echo "* Value to hash is '$value'."
|
|||
key=$(echo $value | md5sum | /bin/cut -f1 -d' ')
|
||||
echo "* Value hashed as '$key'."
|
||||
|
||||
echo "CACHE_KEY=$key"
|
||||
echo "CACHE_KEY=$key" >> $GITHUB_ENV
|
Loading…
Reference in a new issue