Skip to content

Commit

Permalink
specify folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Elmer Bulthuis committed Nov 7, 2023
1 parent 6b9a9a6 commit 8c82af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-goodrouter-net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
lfs: true
# see https://learn.microsoft.com/en-us/dotnet/standard/library-guidance/versioning
- run: >
dotnet pack Goodrouter
dotnet pack goodrouter-net/Goodrouter
--configuration Release
--property Version=$(echo ${GITHUB_REF_NAME} | perl -pe "s/@(.*)$/\1/")
--property AssemblyVersion=$(echo ${GITHUB_REF_NAME} | perl -pe "s/@(.*)$/\1/" | perl -pe "s/${SEMVER_REGEX}/\1.0.0.0/")
--property FileVersion=$(echo ${GITHUB_REF_NAME} | perl -pe "s/@(.*)$/\1/" | perl -pe "s/${SEMVER_REGEX}/\1.\2.\3.${GITHUB_RUN_ID}/")
- run: >
dotnet nuget push
--api-key $NUGET_API_KEY
--source https://api.nuget.org/v3/index.json '${GITHUB_REF_NAME:14}/Goodrouter/bin/Release/*.nupkg'
--source https://api.nuget.org/v3/index.json 'goodrouter-net/Goodrouter/bin/Release/*.nupkg'

0 comments on commit 8c82af9

Please sign in to comment.