|
|
@ -53,17 +53,17 @@ jobs:
|
|
|
|
id: env_setup
|
|
|
|
id: env_setup
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
DF_VERSION="$(sh ci/get-df-version.sh)"
|
|
|
|
DF_VERSION="$(sh ci/get-df-version.sh)"
|
|
|
|
echo "::set-output name=df_version::${DF_VERSION}"
|
|
|
|
echo "df_version=${DF_VERSION}" >> $GITHUB_OUTPUT
|
|
|
|
echo "DF_VERSION=${DF_VERSION}" >> $GITHUB_ENV
|
|
|
|
echo "DF_VERSION=${DF_VERSION}" >> $GITHUB_ENV
|
|
|
|
echo "DF_FOLDER=${HOME}/DF/${DF_VERSION}/df_linux" >> $GITHUB_ENV
|
|
|
|
echo "DF_FOLDER=${HOME}/DF/${DF_VERSION}/df_linux" >> $GITHUB_ENV
|
|
|
|
echo "CCACHE_DIR=${HOME}/.ccache" >> $GITHUB_ENV
|
|
|
|
echo "CCACHE_DIR=${HOME}/.ccache" >> $GITHUB_ENV
|
|
|
|
- name: Fetch DF cache
|
|
|
|
- name: Fetch DF cache
|
|
|
|
uses: actions/cache@v2
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/DF
|
|
|
|
path: ~/DF
|
|
|
|
key: dfcache-${{ steps.env_setup.outputs.df_version }}-${{ hashFiles('ci/download-df.sh') }}
|
|
|
|
key: dfcache-${{ steps.env_setup.outputs.df_version }}-${{ hashFiles('ci/download-df.sh') }}
|
|
|
|
- name: Fetch ccache
|
|
|
|
- name: Fetch ccache
|
|
|
|
uses: actions/cache@v2
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.ccache
|
|
|
|
path: ~/.ccache
|
|
|
|
key: ccache-v2-${{ matrix.os }}-gcc-${{ matrix.gcc }}-${{ github.ref_name }}-${{ github.sha }}
|
|
|
|
key: ccache-v2-${{ matrix.os }}-gcc-${{ matrix.gcc }}-${{ github.ref_name }}-${{ github.sha }}
|
|
|
|