Skip to content

Commit

Permalink
Do some test
Browse files Browse the repository at this point in the history
  • Loading branch information
phnzb committed Mar 25, 2024
1 parent 1be17af commit 6157d79
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ jobs:

- name: Build
run: |
Write-Host $GITHUB_REF_NAME
Write-Host $GITHUB_REF_NAME.GetType()
Write-Host $env:GITHUB_REF_NAME.GetType()
$BuildParams="-BuildRelease -Build32 -Build64 -BuildSetup"
If (-not $GITHUB_REF_NAME -eq "main") {
$BuildParams="$BuildParams -BuildTesting"
}
If ($GITHUB_REF_NAME -eq "main" -or $GITHUB_REF_NAME -eq "develop") {
$BuildParams="$BuildParams -BuildDebug"
}
windows\build-nzbget.ps1 $BuildParams
echo $BuildParams
# windows\build-nzbget.ps1 $BuildParams

# - name: Rename build artifacts
# if: github.ref_name != 'main' && github.ref_name != 'develop'
Expand Down

0 comments on commit 6157d79

Please sign in to comment.