Append cache key directly to env.
This commit is contained in:
parent
ac4bf152a0
commit
407650fe3b
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ runs:
|
||||||
|
|
||||||
- name: Create Cache Key
|
- name: Create Cache Key
|
||||||
run: |
|
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
|
shell: bash
|
||||||
|
|
||||||
- name: Load Package Cache
|
- name: Load Package Cache
|
||||||
|
|
|
@ -18,4 +18,4 @@ echo "* Value to hash is '$value'."
|
||||||
key=$(echo $value | md5sum | /bin/cut -f1 -d' ')
|
key=$(echo $value | md5sum | /bin/cut -f1 -d' ')
|
||||||
echo "* Value hashed as '$key'."
|
echo "* Value hashed as '$key'."
|
||||||
|
|
||||||
echo "CACHE_KEY=$key"
|
echo "CACHE_KEY=$key" >> $GITHUB_ENV
|
Loading…
Reference in a new issue