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 7ca60bc commit f02ba56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- run: dotnet restore
- 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 Intercom/bin/Release/Intercom.0.1.${{github.run_number}}-alpha.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate
- run: dotnet pack --configuration Release Intercom/Intercom.csproj --no-build -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 Intercom/bin/Release/Intercom-NET.0.1.${{github.run_number}}-alpha.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 comments on commit f02ba56

Please sign in to comment.