Add workflow to test actions runner
Added a workflow file to test the proper functioning of an actions runner for Gitea. Added: - .gitea/workflows/test-runner.yaml
This commit is contained in:
18
.gitea/workflows/test-runner.yaml
Normal file
18
.gitea/workflows/test-runner.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Test Gitea Runner
|
||||
on: #[push] # Trigger the workflow on every push to the repository
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
check-runner:
|
||||
runs-on: ubuntu-latest # Specify the runner label (or a custom label if configured)
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run a simple echo command
|
||||
run: echo "Hello from Gitea Actions Runner!"
|
||||
|
||||
- name: List files
|
||||
run: |
|
||||
echo "Listing files in the workspace..."
|
||||
ls -laF
|
||||
Reference in New Issue
Block a user