feat: add progress comments
This commit is contained in:
parent
236202a35c
commit
aa4e77e510
1 changed files with 19 additions and 15 deletions
|
@ -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:
|
||||
|
@ -32,21 +49,8 @@ jobs:
|
|||
|
||||
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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue