mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +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
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
|
if: always()
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.19.x
|
go-version: 1.19.x
|
||||||
@@ -50,6 +51,7 @@ jobs:
|
|||||||
- name: Test
|
- name: Test
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
|
Import-Module PSScheduledJob -UseWindowsPowerShell
|
||||||
Import-Module ".\Invoke-ScheduledTask.ps1"
|
Import-Module ".\Invoke-ScheduledTask.ps1"
|
||||||
Import-Module ".\Invoke-CommandAs.ps1"
|
Import-Module ".\Invoke-CommandAs.ps1"
|
||||||
Invoke-CommandAs -ScriptBlock { ${{ github.workspace }}/iface-testing.bin.exe } -AsSystem
|
Invoke-CommandAs -ScriptBlock { ${{ github.workspace }}/iface-testing.bin.exe } -AsSystem
|
||||||
Reference in New Issue
Block a user