mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
ci: replace set-env calls with $GITHUB_ENV file
Due to security reasons, ::set-env command doesn't work anymore. The new method of updating env vars dynamically is through the $GITHUB_ENV file.
This commit is contained in:
parent
e14514cdf8
commit
072351755b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -51,7 +51,7 @@ jobs:
|
||||||
- name: Set VERSION env var
|
- name: Set VERSION env var
|
||||||
run: |
|
run: |
|
||||||
version=`node -p "require('./package.json').version"`
|
version=`node -p "require('./package.json').version"`
|
||||||
echo "::set-env name=VERSION::$version"
|
echo "VERSION=$version" >> $GITHUB_ENV
|
||||||
- name: Login to docker registry
|
- name: Login to docker registry
|
||||||
env:
|
env:
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue