Fix github release workflow
The previous fix [0] did not account for permissions to create the symlink at /usr/local/bin/gren. Running the full npm install with sudo should solve any further permissions issues. [0]: https://review.opendev.org/c/airship/airshipctl/+/776697 Change-Id: Ieb9dfbc699504e341306cb5b7a7a9e2ee90b637f Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
This commit is contained in:
parent
b9ecb7095a
commit
1eed1efd91
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@ -96,8 +96,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
- name: Download release notes utility
|
||||
run: |
|
||||
sudo chown -R $(whoami) /usr/local/lib/node_modules
|
||||
npm install github-release-notes -g
|
||||
sudo npm install github-release-notes -g
|
||||
- name: Generate release notes
|
||||
run: |
|
||||
gren changelog --override --generate \
|
||||
|
Loading…
Reference in New Issue
Block a user