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