Skip to content

Commit 1f7fdcf

Browse files
committed
fix: remove non use GIT_TAG
1 parent 446c14d commit 1f7fdcf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/build-release.yml

-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ jobs:
8888
- uses: actions/setup-dotnet@v1
8989
with:
9090
dotnet-version: "${{ env.DOTNET_SDK_VERSION_3 }}"
91-
# set release tag(*.*.*) to env.GIT_TAG
92-
- run: echo "GIT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
9391
- run: dotnet build src/ZString -c Release -p:Version=${{ env.GIT_TAG }}
9492
- run: dotnet test tests/ZString.Tests -c Release --no-build
9593
- run: dotnet pack ./src/ZString/ZString.csproj -c Release --no-build -p:Version=${{ env.GIT_TAG }} -o ./publish

0 commit comments

Comments
 (0)