Skip to content

Commit 8d17d01

Browse files
committed
换个方式添加工具
1 parent ab67bd7 commit 8d17d01

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/NuGet-tag-publish-MediaConverters.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ jobs:
108108
6.0.x
109109
9.0.x
110110
111+
- name: Add .NET global tools to PATH
112+
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
113+
111114
- name: Install dotnet tool
112115
run: dotnet tool install -g dotnetCampus.TagToVersion
113116

114-
- name: Export tool
115-
run: export PATH="$PATH:/github/home/.dotnet/tools"
116-
117117
- name: Set tag to version
118118
run: dotnet-TagToVersion -t ${{ github.ref }}
119119

0 commit comments

Comments
 (0)