Skip to content

Commit 3db0986

Browse files
author
Test User
committed
ci: update cliff
1 parent 5800131 commit 3db0986

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919

2020
- name: Generate release notes
2121
id: release_notes
22-
uses: orhun/git-cliff-action@v3
22+
uses: orhun/git-cliff-action@v4
2323
with:
2424
config: .github/cliff.toml
2525
args: --latest --strip header
2626

2727
- name: Create Release
2828
id: create_release
29-
uses: softprops/action-gh-release@v1
29+
uses: softprops/action-gh-release@v2
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232
with:
@@ -143,7 +143,7 @@ jobs:
143143
local output=$2
144144
local max_attempts=5
145145
local attempt=1
146-
146+
147147
while [ $attempt -le $max_attempts ]; do
148148
echo " Attempt $attempt/$max_attempts for $output"
149149
if curl -sL "$url" -o "$output"; then
@@ -156,14 +156,14 @@ jobs:
156156
else
157157
echo " ✗ Download failed"
158158
fi
159-
159+
160160
if [ $attempt -lt $max_attempts ]; then
161161
echo " Waiting 10 seconds before retry..."
162162
sleep 10
163163
fi
164164
attempt=$((attempt + 1))
165165
done
166-
166+
167167
echo " ✗ Failed to download after $max_attempts attempts"
168168
return 1
169169
}

0 commit comments

Comments
 (0)