mirror of
https://github.com/Shu-Ying/noname-shuying.git
synced 2026-10-23 00:00:00 +08:00
添加 .gitea/workflows/runner-check.yml
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
name: Check Windows runner
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: shuying-windows
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: powershell
|
||||||
|
steps:
|
||||||
|
- uses: builtin:checkout
|
||||||
|
|
||||||
|
- name: Check tools and source
|
||||||
|
run: |
|
||||||
|
$ErrorActionPreference = 'Stop'
|
||||||
|
python --version
|
||||||
|
git --version
|
||||||
|
if (!(Test-Path tools/generate_manifest.py)) {
|
||||||
|
throw 'generate_manifest.py not found'
|
||||||
|
}
|
||||||
|
git ls-files --eol update.js
|
||||||
Reference in New Issue
Block a user