use env:GITHUB_WORKSPACE

This commit is contained in:
Benjamin Gebauer 2023-05-31 12:41:45 +02:00
parent fe00cb9121
commit 92d74eb7ee

View file

@ -4,9 +4,6 @@ on:
push:
branches: [ main ]
env:
TEST_SCRIPT: 'test1.ps1'
jobs:
build:
runs-on: windows-latest
@ -23,7 +20,8 @@ jobs:
# run: Test-Path $Env:GITHUB_WORKSPACE/test.ps1 | Should -Be $true
- name: Create msi from PowerShell Script
shell: pwsh
run: ${{env.TEST_SCRIPT}}
run: |
"$env:GITHUB_WORKSPACE\test1.ps1"
- name: Upload artifacts
uses: actions/upload-artifact@v2
with: