mt5-manager/.forgejo/workflows/runner-check.yml
Yuriy Bykov Yuriy Bykov fb6276d0f0
All checks were successful
Check Windows runner / check (push) Successful in 2s
Trigger the Windows runner check on workflow changes
2026-10-30 15:14:08 +03:00
24 lines
596 B
YAML
name: Check Windows runner
on:
workflow_dispatch:
push:
branches:
- article-23709
paths:
- .forgejo/workflows/runner-check.yml
jobs:
check:
runs-on: mt5-vps
timeout-minutes: 5
steps:
- name: Check Windows and PowerShell
shell: powershell
run: |
$ErrorActionPreference = 'Stop'
if ($env:OS -ne 'Windows_NT') {
throw 'This workflow requires a Windows runner.'
}
Write-Output 'Windows runner is working.'
Write-Output ('PowerShell version: {0}' -f $PSVersionTable.PSVersion)