Skip to content

Commit 380de9c

Browse files
Features/net5 (#8)
* README.md * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * checkpoint * multi targeting * flows * build both envs * name * fix bugs * test * test * net 5 v * source * package version
1 parent 96abd76 commit 380de9c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/publish-package.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,8 @@ jobs:
3939
- name: Test
4040
run: dotnet test --no-build
4141

42-
- name: Generate version
43-
run: echo "PACKAGE_VERSION=$PACKAGE_MAJOR_VERSION.$PACKAGE_MINOR_VERSION.$GITHUB_RUN_NUMBER" >> $GITHUB_ENV
44-
4542
- name: Generate Package
46-
run: dotnet pack -c Release -o out -p:PackageVersion=${{env.PACKAGE_VERSION}} -p:RepositoryUrl=${{env.CURRENT_REPO_URL}}
43+
run: dotnet pack -c Release -o out -p:PackageVersion=$PACKAGE_MAJOR_VERSION.$PACKAGE_MINOR_VERSION.$GITHUB_RUN_NUMBER -p:RepositoryUrl=${{env.CURRENT_REPO_URL}}
4744

4845
- name: Publish the package to nuget.org
4946
run: dotnet nuget push ./out/*.nupkg --skip-duplicate --no-symbols true -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)