dep

Package manager for embedded C libraries
git clone git://git.finwo.net/app/dep
Log | Files | Refs | README | LICENSE

commit c37427c6b34a10474f46c0494a4c8c6c8b76deec
parent 4afdd5baaa7b919fec28e0f271490b7ab5fcb3ee
Author: finwo <finwo@pm.me>
Date:   Sat, 14 Mar 2026 17:44:21 +0100

Just try to download immediately instead of detecting

Diffstat:
Maction.yml | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/action.yml b/action.yml @@ -27,9 +27,8 @@ runs: DOWNLOAD_URL="https://github.com/${REPO}/releases/download/${TAG}/${ARTIFACT}" - if curl -sI "$DOWNLOAD_URL" | head -1 | grep -q "200"; then - echo "Downloading $ARTIFACT from release $TAG" - curl -sL "$DOWNLOAD_URL" -o "${GITHUB_ACTION_PATH}/dist/dep" + if curl -sfL "$DOWNLOAD_URL" -o "${GITHUB_ACTION_PATH}/dist/dep"; then + echo "Downloaded $ARTIFACT from release $TAG" echo "status=success" >> $GITHUB_OUTPUT else echo "Prebuilt binary not found for $ARTIFACT in release $TAG, will build from source"