Skip to content

Commit 19cca30

Browse files
committed
fix(ci): pick evot release with assets
1 parent aba79eb commit 19cca30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/auto-fix-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
env:
5959
GH_TOKEN: ${{ secrets.GH_PAT }}
6060
run: |
61-
TAG=$(gh release list --repo evotai/evot --limit 1 --json tagName --jq '.[0].tagName')
61+
TAG=$(gh release list --repo evotai/evot --limit 20 --json tagName,assets --jq '[.[] | select(.assets | length > 0)][0].tagName')
6262
gh release download "$TAG" --repo evotai/evot --pattern "evot-*-x86_64-unknown-linux-gnu.tar.gz"
6363
tar -xzf evot-*.tar.gz && chmod +x bin/evot
6464
echo "$PWD/bin" >> "$GITHUB_PATH"

0 commit comments

Comments
 (0)