diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e27a2642c8..82d83f4030 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,12 +66,9 @@ jobs: - name: Generate cache keys id: get_ref_keys run: | - echo -n '::set-output name=ccache::' - echo 'ccache-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-'$(date -u +%Y-w%W) - echo -n '::set-output name=libabigail::' - echo 'libabigail-${{ matrix.config.os }}' - echo -n '::set-output name=abi::' - echo 'abi-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-${{ env.LIBABIGAIL_VERSION }}-${{ env.REF_GIT_TAG }}' + echo 'ccache=ccache-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-'$(date -u +%Y-w%W) >> $GITHUB_OUTPUT + echo 'libabigail=libabigail-${{ matrix.config.os }}' >> $GITHUB_OUTPUT + echo 'abi=abi-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.cross }}-${{ env.LIBABIGAIL_VERSION }}-${{ env.REF_GIT_TAG }}' >> $GITHUB_OUTPUT - name: Retrieve ccache cache uses: actions/cache@v3 with: @@ -157,8 +154,7 @@ jobs: - name: Generate various keys id: get_keys run: | - echo -n '::set-output name=image::' - echo 'image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d) + echo 'image=image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d) >> $GITHUB_OUTPUT - name: Retrieve image cache id: image_cache uses: actions/cache@v3 @@ -211,12 +207,9 @@ jobs: - name: Generate various keys id: get_keys run: | - echo -n '::set-output name=ccache::' - echo 'ccache-${{ matrix.config.image }}-${{ matrix.config.compiler }}-'$(date -u +%Y-w%W) - echo -n '::set-output name=image::' - echo 'image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d) - echo -n '::set-output name=logs::' - echo 'meson-logs-${{ join(matrix.config.*, '-') }}' | tr -d ':' + echo 'ccache=ccache-${{ matrix.config.image }}-${{ matrix.config.compiler }}-'$(date -u +%Y-w%W) >> $GITHUB_OUTPUT + echo 'image=image-${{ matrix.config.image }}-'$(date -u +%Y-%m-%d) >> $GITHUB_OUTPUT + echo 'logs=meson-logs-${{ join(matrix.config.*, '-') }}' | tr -d ':' >> $GITHUB_OUTPUT - name: Retrieve image cache id: image_cache uses: actions/cache@v3