Updated tea CLI install.

This commit is contained in:
2025-01-08 17:12:55 -05:00
parent 0882560926
commit 478699475e
+4 -4
View File
@@ -17,9 +17,9 @@ jobs:
- name: Install tea
uses: supplypike/setup-bin@v4
with:
uri: https://dl.gitea.com/tea/main/tea-main-linux-amd64
name: tea
version: main
uri: 'https://gitea.com/gitea/tea/releases/download/v0.9.2/tea-0.9.2-linux-amd64'
name: 'tea'
version: '0.9.2'
- name: Install yq
uses: dcarbone/install-yq-action@v1
@@ -29,7 +29,7 @@ jobs:
run: |
tea login add --name gitea-rinoa --url ${{ secrets.RINOA_GITEA_URL }} --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
tea login default gitea-rinoa
tea pr ls --state all --output yaml | yq '.[].state'
tea pr ls --state all --output yaml
echo "pr_state=$(tea pr ls --state open --output yaml | yq '.[].state')" >> $GITHUB_OUTPUT
- name: Create PR