fix build & retry on failure

This commit is contained in:
uncor3
2025-11-20 05:33:09 -08:00
parent 02738550a4
commit 847d8600f4
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ jobs:
url="${base_url}/${name}/releases/download/${ver}/${archive}"
echo "=== Processing $name $ver ==="
echo "URL: $url"
curl -L -o "$archive" "$url"
curl --retry 3 --retry-delay 5 -L -o "$archive" "$url"
echo "Extracting $archive"
tar xjf "$archive"
+1 -1
View File
@@ -125,7 +125,7 @@ jobs:
url="${base_url}/${name}/releases/download/${ver}/${archive}"
echo "=== Processing $name $ver ==="
echo "URL: $url"
curl -L -o "$archive" "$url"
curl --retry 3 --retry-delay 5 -L -o "$archive" "$url"
echo "Extracting $archive"
tar xjf "$archive"
+1 -1
View File
@@ -173,7 +173,7 @@ jobs:
url="${base_url}/${name}/releases/download/${ver}/${archive}"
echo "=== Processing $name $ver ==="
echo "URL: $url"
curl -L -o "$archive" "$url"
curl --retry 3 --retry-delay 5 -L -o "$archive" "$url"
echo "Extracting $archive"
tar xjf "$archive"
+2 -1
View File
@@ -5,6 +5,8 @@ on:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: write
jobs:
build-linux:
@@ -42,6 +44,5 @@ jobs:
uses: softprops/action-gh-release@v2
with:
files: target/*/*
tag: ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}