Skip to content

Commit

Permalink
Testes com o github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fosouzadev committed Sep 8, 2024
1 parent 09503f7 commit 44ee246
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ jobs:
- name: Set package version
run: PKG_VERSION=$(sed -n 's:.*<Version>\(.*\)</Version>.*:\1:p' ./src/FoSouzaDev.Common.Domain/FoSouzaDev.Common.Domain.csproj); echo 'PKG_VERSION=$PKG_VERSION' >> $GITHUB_ENV
- name: Publish in nuget.org
run: dotnet nuget push ./package/FoSouzaDev.Common.Domain.$PKG_VERSION.nupkg --api-key ${{ secrets.NUGETORG }} --source https://api.nuget.org/v3/index.json
run: echo $PKG_VERSION; PKG_NAME=$(echo ./package/FoSouzaDev.Common.Domain.$PKG_VERSION.nupkg); echo $PKG_NAME
#run: dotnet nuget push ./package/FoSouzaDev.Common.Domain.$PKG_VERSION.nupkg --api-key ${{ secrets.NUGETORG }} --source https://api.nuget.org/v3/index.json

0 comments on commit 44ee246

Please sign in to comment.