Merge pull request #2493 from myk002/myk_set_output_migration

migrate usage of set-output (required by github)
develop
Myk 2022-12-11 11:13:39 -08:00 committed by GitHub
commit 848cef115a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

@ -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 }}