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

29 lines
723 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:31:13 +01:00
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# TODO extract dedicated action
2024-01-31 23:35:01 +01:00
- name: setup tea cli
shell: bash
env:
TEA_VERSION: 0.9.2
2024-01-31 23:19:14 +01:00
run: |
wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-386
2024-01-31 23:25:06 +01:00
mv tea* tea
chmod +x tea
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
- name: close issue
2024-01-31 23:25:06 +01:00
shell: bash
2024-01-31 23:27:28 +01:00
run: |
2024-01-31 23:31:56 +01:00
./tea i close ${{ github.event.issue.number }}