merge download and login tea cli
This commit is contained in:
parent
4b7462978d
commit
a73b80e777
1 changed files with 1 additions and 7 deletions
|
@ -12,7 +12,7 @@ jobs:
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
# TODO extract dedicated action
|
# TODO extract dedicated action
|
||||||
- name: download tea cli
|
- name: setup tea cli
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
TEA_VERSION: 0.9.2
|
TEA_VERSION: 0.9.2
|
||||||
|
@ -20,15 +20,9 @@ jobs:
|
||||||
wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-386
|
wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-386
|
||||||
mv tea* tea
|
mv tea* tea
|
||||||
chmod +x tea
|
chmod +x tea
|
||||||
ls -l
|
|
||||||
|
|
||||||
- name: tea login
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
|
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
|
||||||
|
|
||||||
- name: close issue
|
- name: close issue
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "tea i close ${{ github.event.issue.id }}"
|
|
||||||
./tea i close ${{ github.event.issue.number }}
|
./tea i close ${{ github.event.issue.number }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue