mirror of
https://github.com/Ed94/refactor.git
synced 2024-12-21 22:44:45 -08:00
attempting to just run the pwsh script with just hardcoded command.
This commit is contained in:
parent
e867768862
commit
be6b37ae00
22
.github/workflows/main.yml
vendored
22
.github/workflows/main.yml
vendored
@ -36,18 +36,18 @@ jobs:
|
||||
- name: Run PowerShell build script
|
||||
shell: pwsh
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
BUILD_TYPE: ${{ github.event.inputs.type }}
|
||||
RUN_TESTS: ${{ github.event.inputs.test }}
|
||||
# CC: clang
|
||||
# CXX: clang++
|
||||
# BUILD_TYPE: ${{ github.event.inputs.type }}
|
||||
# RUN_TESTS: ${{ github.event.inputs.test }}
|
||||
run: |
|
||||
$ErrorActionPreference = "Stop"
|
||||
# $ErrorActionPreference = "Stop"
|
||||
|
||||
$type = $env:BUILD_TYPE
|
||||
$test = $env:RUN_TESTS
|
||||
# $type = $env:BUILD_TYPE
|
||||
# $test = $env:RUN_TESTS
|
||||
|
||||
$args = @()
|
||||
if (-not [string]::IsNullOrEmpty($type)) { $args += $type }
|
||||
if (-not [string]::IsNullOrEmpty($test)) { $args += $test }
|
||||
# $args = @()
|
||||
# if (-not [string]::IsNullOrEmpty($type)) { $args += $type }
|
||||
# if (-not [string]::IsNullOrEmpty($test)) { $args += $test }
|
||||
|
||||
& .\scripts\build.ps1 @args
|
||||
& .\scripts\build.ps1 debug test
|
||||
|
Loading…
Reference in New Issue
Block a user