We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19cca30 commit b9c1336Copy full SHA for b9c1336
1 file changed
.github/workflows/auto-fix-issues.yml
@@ -58,8 +58,12 @@ jobs:
58
env:
59
GH_TOKEN: ${{ secrets.GH_PAT }}
60
run: |
61
- TAG=$(gh release list --repo evotai/evot --limit 20 --json tagName,assets --jq '[.[] | select(.assets | length > 0)][0].tagName')
62
- gh release download "$TAG" --repo evotai/evot --pattern "evot-*-x86_64-unknown-linux-gnu.tar.gz"
+ for TAG in $(gh release list --repo evotai/evot --limit 10 --json tagName --jq '.[].tagName'); do
+ if gh release download "$TAG" --repo evotai/evot --pattern "evot-*-x86_64-unknown-linux-gnu.tar.gz" 2>/dev/null; then
63
+ echo "Downloaded evot from $TAG"
64
+ break
65
+ fi
66
+ done
67
tar -xzf evot-*.tar.gz && chmod +x bin/evot
68
echo "$PWD/bin" >> "$GITHUB_PATH"
69
0 commit comments