Skip to content

Commit

Permalink
Updated publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gonace committed Jul 11, 2023
1 parent 65ea7a4 commit 5b7529a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ jobs:

publish:
runs-on: ubuntu-latest
needs: tests

steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- run: dotnet build --configuration Release Payment.System.Sdk/Payment.System.Sdk.csproj
- run: dotnet pack --configuration Release Payment.System.Sdk/Payment.System.Sdk.csproj -p:Version=0.1.${{github.run_number}}-alpha -p:PackageVersion=0.1.${{github.run_number}}-alpha -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:NuspecFile=Payment.System.Sdk.nuspec
- run: dotnet nuget push Payment.System.Sdk\bin\Release\laget.Payment.System.Sdk.%system.build.number%-alpha.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
- run: dotnet build --configuration Release Intercom/Intercom.csproj
- run: dotnet pack --configuration Release Intercom/Intercom.csproj -p:Version=0.1.${{github.run_number}}-alpha -p:PackageVersion=0.1.${{github.run_number}}-alpha -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:NuspecFile=Intercom.nuspec
- run: dotnet nuget push PIntercom\bin\Release\Intercom.%system.build.number%-alpha.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 comments on commit 5b7529a

Please sign in to comment.