From b1ab27e53060a51a620ef494342604b702d1d8d5 Mon Sep 17 00:00:00 2001 From: Dheeraj Pundir <1236dheeraj.ds@gmail.com> Date: Wed, 18 Nov 2020 16:55:06 +0530 Subject: [PATCH] Dheeraj | Replace set-env with EnvFiles in github actions --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 585e60c..3511500 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Build with Gradle run: ./gradlew build - name: Set env - run: echo ::set-env name=RELEASE_VERSION::$(echo $GITHUB_SHA | head -c7) + run: echo "RELEASE_VERSION=$(echo $GITHUB_SHA | head -c7)" >> $GITHUB_ENV - name: Docker Registry env: DOCKER_REGISTRY_URL: docker.io diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d47e06..3904a97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Build with Gradle run: ./gradlew build - name: Set env - run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10} + run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV - name: Docker Registry env: DOCKER_REGISTRY_URL: docker.io