Skip to content

Commit

Permalink
actions: fix set-env usage (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenheLI authored and WenheLI committed Dec 18, 2020
1 parent 86e2320 commit 90a63b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Get release version
id: get_version
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:11})
run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:11}" >> $GITHUB_ENV

- name: Publish check
run: |
Expand All @@ -41,11 +41,11 @@ jobs:
[ $(check_pkg pipcook-cli $ver) == $ver ] &&
[ $(check_pkg daemon $ver) == $ver ]
then
echo ::set-env name=NPM_PUBLISHED::true
echo "NPM_PUBLISHED=true" >> $GITHUB_ENV
fi
if [ $(check_image $ver) == $ver ]; then
echo ::set-env name=DOCKER_PUBLISHED::true
echo "DOCKER_PUBLISHED=true" >> $GITHUB_ENV
fi
- name: Publish npm packages
Expand Down

0 comments on commit 90a63b5

Please sign in to comment.