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

19 lines
405 B
YAML
Raw Normal View History

2023-10-23 20:24:47 +00:00
name: tea
on:
workflow_call:
secrets:
token:
2023-10-23 20:35:23 +00:00
required: true
2023-10-23 20:24:47 +00:00
jobs:
tea:
runs-on: ubuntu-latest
steps:
2023-10-23 20:35:23 +00:00
- name: get tea
run: |
echo tea please!
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!