5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00

Merge pull request #62 from wagoid/ci/replace-set-env-with-new-method

ci: replace set-env calls with $GITHUB_ENV file
This commit is contained in:
Wagner Santos 2020-11-21 06:35:17 -03:00 committed by GitHub
commit 4de4b89ad9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ jobs:
- name: Set VERSION env var
run: |
version=`node -p "require('./package.json').version"`
echo "::set-env name=VERSION::$version"
echo "VERSION=$version" >> $GITHUB_ENV
- name: Login to docker registry
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}