import PSScheduledJob

This commit is contained in:
Maycon Santos
2023-04-08 13:04:16 +02:00
parent 9c09b13a25
commit 9494cbdf24

View File

@@ -20,6 +20,7 @@ jobs:
uses: actions/checkout@v3
- name: Install Go
if: always()
uses: actions/setup-go@v4
with:
go-version: 1.19.x
@@ -50,6 +51,7 @@ jobs:
- name: Test
if: ${{ always() }}
run: |
Import-Module PSScheduledJob -UseWindowsPowerShell
Import-Module ".\Invoke-ScheduledTask.ps1"
Import-Module ".\Invoke-CommandAs.ps1"
Invoke-CommandAs -ScriptBlock { ${{ github.workspace }}/iface-testing.bin.exe } -AsSystem