pass tea cli version as environment variable
This commit is contained in:
parent
447f00ab89
commit
4b7462978d
1 changed files with 5 additions and 2 deletions
|
@ -11,10 +11,13 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
|
||||
# TODO extract dedicated action
|
||||
- name: download tea cli
|
||||
shell: bash
|
||||
env:
|
||||
TEA_VERSION: 0.9.2
|
||||
run: |
|
||||
wget https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386
|
||||
wget https://dl.gitea.com/tea/${TEA_VERSION}/tea-${TEA_VERSION}-linux-386
|
||||
mv tea* tea
|
||||
chmod +x tea
|
||||
ls -l
|
||||
|
@ -24,7 +27,7 @@ jobs:
|
|||
run: |
|
||||
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
|
||||
|
||||
- name: tea help
|
||||
- name: close issue
|
||||
shell: bash
|
||||
run: |
|
||||
echo "tea i close ${{ github.event.issue.id }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue