pass tea cli version as environment variable

This commit is contained in:
Oliver Lippert 2024-01-31 23:33:41 +01:00
parent 447f00ab89
commit 4b7462978d
Signed by: oliver
GPG key ID: 4AE99C459BC7D2B3

View file

@ -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 }}"