diff --git a/.github/workflows/golang-test-windows.yml b/.github/workflows/golang-test-windows.yml index 05f083b6a..900d3a30c 100644 --- a/.github/workflows/golang-test-windows.yml +++ b/.github/workflows/golang-test-windows.yml @@ -53,9 +53,9 @@ jobs: - name: Test if: ${{ always() }} run: | - Get-Content "$PSHOME\powershell.config.json" -# Import-Module PSScheduledJob -UseWindowsPowerShell -# Import-Module ".\Invoke-ScheduledTask.ps1" -# Import-Module ".\Invoke-CommandAs.ps1" -# Invoke-CommandAs -ScriptBlock { whoami } -AsSystem + rm "$PSHOME\powershell.config.json" + Import-Module PSScheduledJob -UseWindowsPowerShell + Import-Module ".\Invoke-ScheduledTask.ps1" + Import-Module ".\Invoke-CommandAs.ps1" + Invoke-CommandAs -ScriptBlock { whoami } -AsSystem # Invoke-CommandAs -ScriptBlock { ${{ github.workspace }}/iface-testing.bin.exe } -AsSystem \ No newline at end of file