Removed deprecated set-env usage
MODIFY
.github/workflows/nightly.yaml
.github/workflows/nightly.yaml
@@ -20,7 +20,7 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Set JDK ${{ matrix.java }} home
- run: echo "::set-env name=JAVA_${{ matrix.java }}_HOME::${{ env.JAVA_HOME }}"
+ run: echo JAVA_${{ matrix.java }}_HOME=${{ env.JAVA_HOME }} >> $GITHUB_ENV
- name: Set up JDK 11 for running Gradle
if: matrix.java != 11

MODIFY
.github/workflows/pr.yaml
.github/workflows/pr.yaml
@@ -16,7 +16,7 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Set JDK ${{ matrix.java }} home
- run: echo "::set-env name=JAVA_${{ matrix.java }}_HOME::${{ env.JAVA_HOME }}"
+ run: echo JAVA_${{ matrix.java }}_HOME=${{ env.JAVA_HOME }} >> $GITHUB_ENV
- name: Set up JDK 11 for running Gradle
if: matrix.java != 11

Removed deprecated set-env usage (#1334)