mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 15:26:40 +00:00
import PSScheduledJob
This commit is contained in:
2
.github/workflows/golang-test-windows.yml
vendored
2
.github/workflows/golang-test-windows.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user