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
|
- name: Run PowerShell build script
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
CC: clang
|
# CC: clang
|
||||||
CXX: clang++
|
# CXX: clang++
|
||||||
BUILD_TYPE: ${{ github.event.inputs.type }}
|
# BUILD_TYPE: ${{ github.event.inputs.type }}
|
||||||
RUN_TESTS: ${{ github.event.inputs.test }}
|
# RUN_TESTS: ${{ github.event.inputs.test }}
|
||||||
run: |
|
run: |
|
||||||
$ErrorActionPreference = "Stop"
|
# $ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
$type = $env:BUILD_TYPE
|
# $type = $env:BUILD_TYPE
|
||||||
$test = $env:RUN_TESTS
|
# $test = $env:RUN_TESTS
|
||||||
|
|
||||||
$args = @()
|
# $args = @()
|
||||||
if (-not [string]::IsNullOrEmpty($type)) { $args += $type }
|
# if (-not [string]::IsNullOrEmpty($type)) { $args += $type }
|
||||||
if (-not [string]::IsNullOrEmpty($test)) { $args += $test }
|
# if (-not [string]::IsNullOrEmpty($test)) { $args += $test }
|
||||||
|
|
||||||
& .\scripts\build.ps1 @args
|
& .\scripts\build.ps1 debug test
|
||||||
|
Loading…
Reference in New Issue
Block a user