Add .gitea/workflows/auto-trigger-mac
This commit is contained in:
21
.gitea/workflows/auto-trigger-mac
Normal file
21
.gitea/workflows/auto-trigger-mac
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: Greet on Commit
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
greet:
|
||||||
|
runs-on: macos
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Say Hello
|
||||||
|
run: |
|
||||||
|
for ((i = 0; i < 10; i++)); do
|
||||||
|
echo "Hello, World!"
|
||||||
|
done
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Print Env
|
||||||
|
run: |
|
||||||
|
ls;pwd;whoami;env
|
||||||
|
shell: bash
|
||||||
Reference in New Issue
Block a user