使用纯本地工作流,无外部依赖
Some checks are pending
Local Test / test (push) Waiting to run

This commit is contained in:
ben
2026-02-02 02:05:52 +00:00
parent 1f39f2eb0a
commit 588c2e4088
2 changed files with 12 additions and 24 deletions

View File

@@ -0,0 +1,12 @@
name: Local Test
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu:host
steps:
- run: echo "Hello from local runner"
- run: date
- run: whoami
- run: pwd

View File

@@ -1,24 +0,0 @@
name: No Action Test
on:
push:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu:host
steps:
- run: |
echo "========================================"
echo "TEST START"
echo "========================================"
echo "Step 1: Hello"
echo "Step 2: $(date)"
echo "Step 3: $(whoami)"
echo "Step 4: $(hostname)"
echo "Step 5: $(pwd)"
echo "Step 6: $(uname -a)"
echo "========================================"
echo "TEST END"
echo "========================================"