feat: add progress comments

This commit is contained in:
Oliver Lippert 2024-02-01 11:24:14 +01:00
parent 236202a35c
commit aa4e77e510
Signed by: oliver
GPG key ID: 4AE99C459BC7D2B3

View file

@ -11,6 +11,23 @@ jobs:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# TODO extract dedicated action
- name: setup tea cli
shell: bash
env:
TEA_VERSION: main
run: |
wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64
mv tea* tea
chmod +x tea
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
- name: comment release start
shell: bash
run: |
./tea issues edit --title "Release $(cat version.txt)" ${{ github.event.issue.number }}
./tea comment ${{ github.event.issue.number }} "Start creating release"
- name: setup node
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
@ -31,22 +48,9 @@ jobs:
@semantic-release/exec
npx semantic-release
ls -l
# TODO extract dedicated action
- name: setup tea cli
shell: bash
env:
TEA_VERSION: main
run: |
wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64
mv tea* tea
chmod +x tea
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
- name: update issue
- name: comment release end
shell: bash
run: |
./tea issues edit --title "Release $(cat version.txt)" ${{ github.event.issue.number }}
./tea comment ${{ github.event.issue.number }} "Finished creating release"
./tea issues close ${{ github.event.issue.number }}