Append cache key directly to env.

This commit is contained in:
awalsh128 2021-10-16 22:46:41 -07:00
parent ac4bf152a0
commit 407650fe3b
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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