Fix cache key

develop
lethosor 2020-06-29 22:40:58 -04:00
parent 3c702ccf52
commit e33a3ffff9
1 changed files with 3 additions and 1 deletions

@ -24,15 +24,17 @@ jobs:
with:
submodules: true
- name: Set up environment
id: env_setup
run: |
DF_VERSION="$(sh travis/get-df-version.sh)"
echo "::set-env name=DF_VERSION::${DF_VERSION}"
echo "::set-output name=df_version::${DF_VERSION}"
echo "::set-env name=DF_FOLDER::${HOME}/DF/${DF_VERSION}/df_linux"
- name: Fetch DF cache
uses: actions/cache@v2
with:
path: ~/DF
key: ${DF_VERSION}
key: ${{ steps.env_setup.outputs.df_version }}
- name: Download DF
run: |
sh travis/download-df.sh