Skip to content

Commit

Permalink
Fix code for powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmichel committed Oct 12, 2023
1 parent 9dcad00 commit 5cb36e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sentry-native-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ jobs:
NUGET_SOURCE_NAME: TheBrowserCompany
run: |
nuget sources list | find "%NUGET_SOURCE_NAME%"
if errorlevel 0 (
if ($errorlevel -eq 0) {
nuget sources remove -name %NUGET_SOURCE_NAME%
)
}
nuget sources Add -Name %NUGET_SOURCE_NAME% -Source %NUGET_PUBLISH_URL% -username %GITHUB_USERNAME% -password %GITHUB_TOKEN% -StorePasswordInClearText
nuget setApiKey %GITHUB_TOKEN% -Source %NUGET_PUBLISH_URL%
nuget push ${{ github.workspace }}\*.nupkg -Source %NUGET_SOURCE_NAME% -SkipDuplicate
Expand Down

0 comments on commit 5cb36e7

Please sign in to comment.