extracted script name to variable
This commit is contained in:
parent
2f3a9f2d5f
commit
fe00cb9121
1 changed files with 4 additions and 1 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
TEST_SCRIPT: 'test1.ps1'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
@ -20,7 +23,7 @@ jobs:
|
||||||
# run: Test-Path $Env:GITHUB_WORKSPACE/test.ps1 | Should -Be $true
|
# run: Test-Path $Env:GITHUB_WORKSPACE/test.ps1 | Should -Be $true
|
||||||
- name: Create msi from PowerShell Script
|
- name: Create msi from PowerShell Script
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: .\test1.ps1
|
run: ${{env.TEST_SCRIPT}}
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue