pipeline-test-versioning/.gitea/workflows/release.yml

29 lines
650 B
YAML
Raw Normal View History

on:
issues:
2024-01-31 23:06:57 +01:00
types:
- opened
jobs:
release:
2024-01-31 23:06:57 +01:00
if: github.event.issue.title == 'release'
runs-on: ubuntu-latest
steps:
2024-01-31 23:25:06 +01:00
- name: download tea cli
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
2024-01-31 23:28:42 +01:00
- name: tea login
shell: bash
run: |
2024-01-31 23:30:16 +01:00
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
2024-01-31 23:28:42 +01:00
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 }}