From 9307588ab421cf0c0ece19488978f29def6fe518 Mon Sep 17 00:00:00 2001 From: whatnick Date: Thu, 16 Apr 2020 04:28:07 +0000 Subject: [PATCH] #26 Try to set env differently Signed-off-by: whatnick --- .github/workflows/push.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d8dd92b..cafa5ef 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -26,13 +26,13 @@ jobs: - name: Get tag for this build if it exists if: contains(github.ref, 'odc-index-') run: | - echo ::set-output name=RELEASE::${GITHUB_REF/refs\/tags\/odc-index-/} + echo ::set-env name=RELEASE::${GITHUB_REF/refs\/tags\/odc-index-/} echo $RELEASE - - name: Get git commit has for merged PR's + - name: Get git commit hash for merged PR's if: github.event.pull_request.merged run: | - echo ::set-output name=GITHASH::$(git rev-parse --short "$GITHUB_SHA") + echo ::set-env name=GITHASH::$(git rev-parse --short "$GITHUB_SHA") echo $GITHASH - name: Build and Push latest Docker Image for Release