Fix if variable.

This commit is contained in:
awalsh128 2021-10-16 10:54:31 -07:00
parent 847677393b
commit 7a02db3b2e

View file

@ -21,6 +21,7 @@ runs:
steps:
- name: Validate Packages
run: ${{ github.action_path }}/validate_pkgs.sh ${{ inputs.packages }}
shell: bash
- name: Create Cache Key
run: echo ${{ inputs.packages }} | sed 's/[\s,]+/\n/g' | sort > /tmp/package_list.txt
@ -34,11 +35,11 @@ runs:
key: cache-apt-pkgs_${{ hashFiles('/tmp/package_list.txt') }}
- name: Install and Cache Packages
if: steps.load-pkg-cache.outputs.cache-hit != 'true'
run: ${{ github.action_path }}/install_and_cache.sh ~/cache-apt-pkgs ${{ inputs.packages }}
shell: bash
if: steps.cache-primes.outputs.cache-hit != 'true'
- name: Restore Cached Packages
if: steps.load-pkg-cache.outputs.cache-hit != 'true'
run: ${{ github.action_path }}/run.sh ~/cache-apt-pkgs /
shell: bash
if: steps.cache-primes.outputs.cache-hit != 'true'