Skip to content

Commit

Permalink
ci: use github env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
johngeorgewright committed Nov 28, 2023
1 parent 142d02d commit a2a87db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: NVM
id: nvm
run: echo "::set-output name=version::$(cat .nvmrc)"
run: echo "version=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config = {
{
verifyConditionsCmd: 'yarn npm whoami --publish',
prepareCmd:
"yarn version ${nextRelease.version} && echo '::set-output name=version::${nextRelease.version}'",
"yarn version ${nextRelease.version} && echo 'version=${nextRelease.version}' >> $GITHUB_OUTPUT",
publishCmd: 'yarn npm publish --access public',
},
],
Expand Down

0 comments on commit a2a87db

Please sign in to comment.