change download url

This commit is contained in:
ebner committed 2026-09-23 16:22:56 +02:00
1 parent 86cf871314
commit 75734b8dad
1 file changed
+6 -8
+6 -8
View File
@@ -49,16 +49,14 @@ jobs:
- name: Download latest release
run: |
LATEST_RELEASE_URL=$(echo "${API_OUTPUT}" | jq -r '.[0].zipball_url')
if [ -z "$LATEST_RELEASE_URL" ]; then
echo "⚠️ No download URL found for the latest release."
exit 0
fi
echo "Downloading latest release from $LATEST_RELEASE_URL ..."
DOWNLOAD_URL="https://github.com/prefix-dev/pixi/releases/download/v${LATEST_TAG}/pixi-x86_64-unknown-linux-musl.tar.gz"
# curl -L -o latest_release.zip "$LATEST_RELEASE_URL"
echo "Downloading latest release from $DOWNLOAD_URL ..."
# curl -L -o latest https://github.com/prefix-dev/pixi/releases/download/v%{version}/pixi-x86_64-unknown-linux-musl.tar.gz
curl -L -O "$DOWNLOAD_URL"
ls -la .
# curl -L -o latest
# - name: Deploy/Build action if release found
# if: env.LATEST_VERSION # This step runs ONLY if the previous step successfully set LATEST_VERSION