From 5c0f9211146e5fcf9fa887fb864b48ceb8a1afe1 Mon Sep 17 00:00:00 2001 From: Baleine Date: Mon, 26 Jul 2021 17:31:30 +0800 Subject: [PATCH] chore: set env properly --- .github/workflows/gradle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 68b4b75..dba3838 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -21,7 +21,7 @@ jobs: java-version: '8' distribution: 'adopt' - name: Set version env - run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10} + run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle