Updated tea CLI install.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user