From b1aa6a7413525b016293234aa465fa3d40c85836 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Tue, 2 Dec 2025 23:06:11 +0100 Subject: [PATCH] Replace deprecated ::set-output in the workflows --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f15fdf022..cec49e038 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,7 +86,7 @@ jobs: - name: Get year/month for cache key id: get-date run: | - echo "::set-output name=yearmonth::$(/bin/date -u "+%Y-%m")" + echo "yearmonth=$(/bin/date -u '+%Y-%m')" >> "$GITHUB_OUTPUT" shell: bash - name: Cache Gradle downloads uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 @@ -135,7 +135,7 @@ jobs: - name: Get year/month for cache key id: get-date run: | - echo "::set-output name=yearmonth::$(/bin/date -u "+%Y-%m")" + echo "yearmonth=$(/bin/date -u '+%Y-%m')" >> "$GITHUB_OUTPUT" shell: bash - name: Cache Gradle downloads uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 @@ -199,7 +199,7 @@ jobs: - name: Get year/month for cache key id: get-date run: | - echo "::set-output name=yearmonth::$(/bin/date -u "+%Y-%m")" + echo "yearmonth=$(/bin/date -u '+%Y-%m')" >> "$GITHUB_OUTPUT" shell: bash - name: Generate cache key @@ -260,7 +260,7 @@ jobs: check-latest: true - name: Export path to JDK ${{ matrix.java.name }} id: testjdk-exportpath - run: echo "::set-output name=path::${JAVA_HOME}" + run: echo "path=${JAVA_HOME}" >> $GITHUB_OUTPUT - name: Set up JDK 11 if: ${{ startsWith( inputs.branch, 'wip/2' ) }} uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 @@ -277,7 +277,7 @@ jobs: check-latest: true - name: Export path to JDK 11 id: mainjdk-exportpath - run: echo "::set-output name=path::${JAVA_HOME}" + run: echo "path=${JAVA_HOME}" >> $GITHUB_OUTPUT - name: Display exact version of JDK ${{ matrix.java.name }} run: | ${{ steps.testjdk-exportpath.outputs.path }}/bin/java -version