use env:GITHUB_WORKSPACE
This commit is contained in:
parent
fe00cb9121
commit
92d74eb7ee
1 changed files with 2 additions and 4 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -4,9 +4,6 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
env:
|
|
||||||
TEST_SCRIPT: 'test1.ps1'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
@ -23,7 +20,8 @@ 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: ${{env.TEST_SCRIPT}}
|
run: |
|
||||||
|
"$env:GITHUB_WORKSPACE\test1.ps1"
|
||||||
- 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