Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast authored Dec 30, 2024
1 parent ffeb1b7 commit 59b77eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
name: MailKit.${{ steps.semantic_version.outputs.version_num }}.${{ github.run_number }}-${{ matrix.os }}-${{ matrix.build-configuration }}-TestResults.xml
path: TestResult.xml

- if: ${{ env.GENERATE_CODE_COVERAGE == 'true' }}
- if: ${{ env.GENERATE_CODE_COVERAGE == 'true' && secrets.COVERALLS_REPO_TOKEN != '' }}
name: Upload code coverage data to coveralls.io
id: upload_to_coveralls
shell: pwsh
Expand All @@ -132,7 +132,7 @@ jobs:
env:
LATEST_VERSION: ${{ steps.semantic_version.outputs.version_num }}

- if: ${{ env.PUBLISH == 'true' }}
- if: ${{ env.PUBLISH == 'true' && secrets.MYGET_API_KEY != '' }}
name: Push NuGet package to MyGet
id: push_nuget_package
shell: pwsh
Expand Down

0 comments on commit 59b77eb

Please sign in to comment.