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: with:
submodules: true submodules: true
- name: Set up environment - name: Set up environment
id: env_setup
run: | run: |
DF_VERSION="$(sh travis/get-df-version.sh)" DF_VERSION="$(sh travis/get-df-version.sh)"
echo "::set-env name=DF_VERSION::${DF_VERSION}" 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" echo "::set-env name=DF_FOLDER::${HOME}/DF/${DF_VERSION}/df_linux"
- name: Fetch DF cache - name: Fetch DF cache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ~/DF path: ~/DF
key: ${DF_VERSION} key: ${{ steps.env_setup.outputs.df_version }}
- name: Download DF - name: Download DF
run: | run: |
sh travis/download-df.sh sh travis/download-df.sh