Skip to content

Commit

Permalink
Construct the repo/tag url using the server_url property (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr authored Jun 5, 2024
1 parent 3f2b8fc commit c80c908
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ jobs:
with:
dotnet-version: '8.x' # SDK Version to use.

# Pack the client nuget package and include urls back to the repository and release tag
# Pack the client nuget package and include url back to the repository and release tag
- name: Build and Pack
run: dotnet pack
--configuration Release
--output "${{github.workspace}}/artifacts/packages"
/p:RepositoryUrl="${{ github.repository }}"
/p:PackageProjectUrl="${{ github.repository }}/tree/${{ github.event.release.tag_name }}"
/p:PackageProjectUrl="${{ github.server_url }}/${{ github.repository }}/tree/${{ github.event.release.tag_name }}"

- name: Test
run: dotnet test
Expand Down

0 comments on commit c80c908

Please sign in to comment.