From 92d74eb7ee67898ebc0f577aa2d509a27f898b07 Mon Sep 17 00:00:00 2001 From: Benjamin Gebauer Date: Wed, 31 May 2023 12:41:45 +0200 Subject: [PATCH] use env:GITHUB_WORKSPACE --- .github/workflows/test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cdd6270..470eb03 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: