Skip to content

Commit 162c9e3

Browse files
committed
fix release workflow
1 parent a3ed428 commit 162c9e3

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
git config user.email release-bot@neolution.ch
4545
4646
- name: install @release-it/keep-a-changelog
47-
run: npm install -g release-it @release-it/keep-a-changelog @neolution-ch/release-it-dotnet-plugin
47+
run: yarn add release-it @release-it/keep-a-changelog @neolution-ch/release-it-dotnet-plugin
4848

4949
- name: run release-it
5050
run: |
@@ -64,6 +64,6 @@ jobs:
6464
params+=(--plugins.@neolution-ch/release-it-dotnet-plugin.nugetApiKey=${{ secrets.NUGET_API_KEY_NEOLUTION }})
6565
6666
echo "command: release-it ${params[@]}"
67-
release-it "${params[@]}"
67+
yarn release-it "${params[@]}"
6868
env:
6969
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,8 @@ msbuild.err
3434
msbuild.wrn
3535

3636
# Visual Studio 2015
37-
.vs/
37+
.vs/
38+
39+
package.json
40+
yarn.lock
41+
**/node_modules/

0 commit comments

Comments
 (0)