Skip to content

Commit a1cc473

Browse files
authored
Remove version detection
The used version detection is not working and was just copied from another source (https://alessio.franceschelli.me/posts/dotnet/build-a-dotnet-library-with-github-actions/). Since it is not working for me, just remove it for now and look for another solution, like GitVersion...
1 parent 5dd4337 commit a1cc473

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ jobs:
3232
uses: actions/setup-dotnet@v1
3333
with:
3434
dotnet-version: 3.1.101
35-
- name: Determine version
36-
run: echo "::set-env name=VERSION::$(git describe --tags --dirty)"
3735
- name: Pack
38-
run: dotnet pack --output ./artifacts --configuration Release -p:Version=$VERSION
36+
run: dotnet pack --output ./artifacts --configuration Release
3937
- uses: actions/upload-artifact@v1
4038
with:
4139
name: artifacts

0 commit comments

Comments
 (0)