mirror of
https://github.com/obi1kenobi/cargo-semver-checks-action.git
synced 2024-11-25 09:29:32 +01:00
Explain user and email in npm-cli-login (#15)
This commit is contained in:
parent
88e90a8d87
commit
9636ecd1f2
1 changed files with 3 additions and 1 deletions
4
.github/workflows/test-build.yml
vendored
4
.github/workflows/test-build.yml
vendored
|
@ -17,9 +17,11 @@ jobs:
|
|||
- name: Install npm-cli-login
|
||||
run: npm install -g npm-cli-login
|
||||
- name: Login to GitHub npm registry
|
||||
# Both username and email address are irrelevant here, but they must be
|
||||
# specified because otherwise npm-cli-login fails.
|
||||
run: |
|
||||
npm-cli-login -s @actions-rs -r https://npm.pkg.github.com \
|
||||
-u $ -p ${{ secrets.GITHUB_TOKEN }} -e test@example.com
|
||||
-u does_not_matter -p ${{ secrets.GITHUB_TOKEN }} -e does_not_m@ter.com
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Rebuild the action
|
||||
|
|
Loading…
Reference in a new issue