batch-example/.gitea/workflows/tea.yml

21 lines
436 B
YAML
Raw Normal View History

2023-10-23 20:24:47 +00:00
name: tea
run-name: tea
on:
workflow_call:
secrets:
token:
required: true
jobs:
tea:
runs-on: ubuntu-latest
steps:
2023-10-23 20:33:27 +00:00
- name: get tea
2023-10-23 20:24:47 +00:00
run: |
2023-10-23 20:26:33 +00:00
echo tea please!
2023-10-23 20:30:04 +00:00
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output ../tea
chmod +x ../tea
../tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.token }}
echo thank you!