2024-01-31 23:04:14 +01:00
|
|
|
on:
|
|
|
|
issues:
|
2024-01-31 23:06:57 +01:00
|
|
|
types:
|
|
|
|
- opened
|
2024-01-31 23:04:14 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
2024-01-31 23:06:57 +01:00
|
|
|
if: github.event.issue.title == 'release'
|
2024-01-31 23:04:14 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-01-31 23:25:06 +01:00
|
|
|
- name: download tea cli
|
2024-01-31 23:04:14 +01:00
|
|
|
shell: bash
|
2024-01-31 23:19:14 +01:00
|
|
|
run: |
|
2024-01-31 23:23:48 +01:00
|
|
|
wget https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386
|
2024-01-31 23:25:06 +01:00
|
|
|
mv tea* tea
|
|
|
|
chmod +x tea
|
2024-01-31 23:25:36 +01:00
|
|
|
ls -l
|
2024-01-31 23:25:06 +01:00
|
|
|
|
|
|
|
- name: tea help
|
|
|
|
shell: bash
|
2024-01-31 23:27:28 +01:00
|
|
|
run: |
|
|
|
|
echo "tea i close ${{ github.event.issue.id }}"
|
|
|
|
./tea i close ${{ github.event.issue.id }}
|