Skip to content

Commit

Permalink
set configuration to Release for dotnet pack (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
2ynn authored Jun 10, 2024
1 parent 5afb27f commit 77062f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sdk-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ jobs:
with:
dotnet-version: ${{ inputs.dotnet_version }}
- name: Publish
run: dotnet pack -o . && dotnet nuget push *.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json
run: dotnet pack -c Release -o . && dotnet nuget push *.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json
- id: publish-event
uses: speakeasy-api/sdk-generation-action@v15
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ jobs:
with:
dotnet-version: ${{ inputs.dotnet_version }}
- name: Publish
run: dotnet pack -o . && dotnet nuget push *.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json
run: dotnet pack -c Release -o . && dotnet nuget push *.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json
- id: publish-event
uses: speakeasy-api/sdk-generation-action@v15
if: always()
Expand Down

0 comments on commit 77062f9

Please sign in to comment.