Skip to content

Commit

Permalink
Update set-env command
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed Oct 6, 2020
1 parent 61ee301 commit d9e60dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

- name: Set env
run: |
echo "::set-env name=GITTAG::$(cat ReleaseTag)"
echo "::set-env name=GITHASH::$(cat ReleaseHash)"
echo "::set-env name=WORKDIR::$(dirname $GITHUB_WORKSPACE)"
echo "::set-env name=GOPATH::$(dirname $GITHUB_WORKSPACE)/go"
echo "GITTAG=$(cat ReleaseTag)" >> $GITHUB_ENV
echo "GITHASH=$(cat ReleaseHash)" >> $GITHUB_ENV
echo "WORKDIR=$(dirname $GITHUB_WORKSPACE)" >> $GITHUB_ENV
echo "GOPATH=$(dirname $GITHUB_WORKSPACE)/go" >> $GITHUB_ENV
- name: Setup Golang
uses: actions/setup-go@v1
Expand Down

0 comments on commit d9e60dc

Please sign in to comment.