diff --git a/.github/workflows/sdk-publish.yaml b/.github/workflows/sdk-publish.yaml index d5512f3c..760ae945 100644 --- a/.github/workflows/sdk-publish.yaml +++ b/.github/workflows/sdk-publish.yaml @@ -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() diff --git a/.github/workflows/workflow-executor.yaml b/.github/workflows/workflow-executor.yaml index c6f66ca5..a63ea4bd 100644 --- a/.github/workflows/workflow-executor.yaml +++ b/.github/workflows/workflow-executor.yaml @@ -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()