Skip to content

Commit

Permalink
hotfix: set environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
strider2038 committed Jun 22, 2021
1 parent 01f9ed2 commit 3bbb098
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- uses: actions/checkout@v2

- name: Set APP_VERSION env
run: echo ::set-env name=APP_VERSION::$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev )
run: echo "APP_VERSION=$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev )" >> $GITHUB_ENV
- name: Set BUILD_TIME env
run: echo ::set-env name=BUILD_TIME::$(date)
run: echo "BUILD_TIME=$(date)" >> $GITHUB_ENV
- name: Environment Printer
uses: managedkaos/[email protected]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- uses: actions/checkout@v2

- name: Set APP_VERSION env
run: echo ::set-env name=APP_VERSION::$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev )
run: echo "APP_VERSION=$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev )" >> $GITHUB_ENV
- name: Set BUILD_TIME env
run: echo ::set-env name=BUILD_TIME::$(date)
run: echo "BUILD_TIME=$(date)" >> $GITHUB_ENV
- name: Environment Printer
uses: managedkaos/[email protected]

Expand Down

0 comments on commit 3bbb098

Please sign in to comment.