commit 1ab12d2f0ecfcfb5fdf5c9bbc933a683189ecae9
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2026-05-27T12:23:30Z |
| subject | Fixing github workflow again |
commit 1ab12d2f0ecfcfb5fdf5c9bbc933a683189ecae9
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2026-05-27T12:23:30Z
Fixing github workflow again
---
.github/workflows/cmake-multi-platform.yml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml
index b4b0df1..a8665fe 100644
--- a/.github/workflows/cmake-multi-platform.yml
+++ b/.github/workflows/cmake-multi-platform.yml
@@ -8,6 +8,10 @@ on:
pull_request:
branches: ["main"]
+concurrency:
+ group: tinyproxy-${{ github.ref }}
+ cancel-in-progress: false
+
env:
ARTIFACT_RETENTION_DAYS: 30
@@ -219,7 +223,15 @@ jobs:
--generate-notes
fi
- gh release upload "$tag" release-assets/* --clobber
+ for asset in release-assets/*; do
+ name="$(basename "$asset")"
+
+ echo "Deleting existing release asset if present: $name"
+ gh release delete-asset "$tag" "$name" -y >/dev/null 2>&1 || true
+
+ echo "Uploading release asset: $name"
+ gh release upload "$tag" "$asset"
+ done
docker:
name: Docker image