From 825c334362d9dee2c82d7b03f35c60ef2b22cd2b Mon Sep 17 00:00:00 2001 From: Terence Lim Date: Fri, 13 Nov 2020 14:38:32 +0800 Subject: [PATCH] Fix github workflow deprecating env variable (#1158) Signed-off-by: Terence --- .github/workflows/master_only.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master_only.yml b/.github/workflows/master_only.yml index 9a4b439d27..84155ac1a7 100644 --- a/.github/workflows/master_only.yml +++ b/.github/workflows/master_only.yml @@ -28,7 +28,7 @@ jobs: --archive-uri ${MAVEN_CACHE} \ --output-dir . - name: Get version - run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Build image run: make build-${{ matrix.component }}-docker REGISTRY=gcr.io/kf-feast VERSION=${GITHUB_SHA} REVISION=${RELEASE_VERSION} - name: Push image @@ -86,7 +86,7 @@ jobs: gsutil cp ./spark/ingestion/target/feast-ingestion-spark-develop.jar gs://${PUBLISH_BUCKET}/spark/ingestion/ fi - name: Get version - run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Publish tagged version of ingestion job run: | SEMVER_REGEX='^v[0-9]+\.[0-9]+\.[0-9]+(-([0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*))?$'