debug remove powershell.config.json

This commit is contained in:
Maycon Santos
2023-04-08 22:06:42 +02:00
parent 5e1dfb28c0
commit b5a3248f9f

View File

@@ -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