From f5f99f65e8b7058b1ef73a26068f4a411c2aa76d Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sun, 11 Dec 2022 10:33:47 -0800 Subject: [PATCH 1/2] migrate usage of set-output (required by github) as per https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7e8a52b8..eab35561a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,7 @@ jobs: id: env_setup run: | 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_FOLDER=${HOME}/DF/${DF_VERSION}/df_linux" >> $GITHUB_ENV echo "CCACHE_DIR=${HOME}/.ccache" >> $GITHUB_ENV From c13b3175fc1451519e7d8770ce0e3443cf9b8f15 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sun, 11 Dec 2022 10:39:26 -0800 Subject: [PATCH 2/2] update cache runner to v3 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eab35561a..a70587ae2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,12 +58,12 @@ jobs: echo "DF_FOLDER=${HOME}/DF/${DF_VERSION}/df_linux" >> $GITHUB_ENV echo "CCACHE_DIR=${HOME}/.ccache" >> $GITHUB_ENV - name: Fetch DF cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/DF key: dfcache-${{ steps.env_setup.outputs.df_version }}-${{ hashFiles('ci/download-df.sh') }} - name: Fetch ccache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.ccache key: ccache-v2-${{ matrix.os }}-gcc-${{ matrix.gcc }}-${{ github.ref_name }}-${{ github.sha }}