Skip to content

Commit a654cdc

Browse files
committed
Revert "换个方式添加工具"
This reverts commit 8d17d01.
1 parent 8d17d01 commit a654cdc

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-
114111
- name: Install dotnet tool
115112
run: dotnet tool install -g dotnetCampus.TagToVersion
116113

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)