From 3754c649c65a392fd6bfb5abc324aa6a1161201e Mon Sep 17 00:00:00 2001 From: yash-zededa Date: Mon, 28 Oct 2024 19:42:41 +0100 Subject: [PATCH] fix: yetus Signed-off-by: yash-zededa --- .github/workflows/assets.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 96ab8f78ab..a1f5bb49b3 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -113,7 +113,6 @@ jobs: run: | # Create SHA256 checksum for rootfs.img sha256sum "assets/rootfs.img" | awk '{ print $1 }' > "assets/${ARCH}.rootfs.img.sha256" - # Rename files in assets to include architecture prefix if not already prefixed, then upload each one for asset in assets/*; do base_name=$(basename "$asset") @@ -124,15 +123,12 @@ jobs: new_name="${ARCH}.${base_name}" # Add ARCH prefix mv "$asset" "assets/$new_name" # Rename the file fi - echo "Uploading assets/$new_name as $new_name..." - upload_response=$(curl -s -X POST \ -H "Authorization: Bearer $GITHUB_TOKEN" \ -H "Content-Type: application/octet-stream" \ --data-binary @"assets/$new_name" \ "$UPLOAD_URL?name=$new_name") - if echo "$upload_response" | jq -e .id > /dev/null; then echo "$new_name uploaded successfully." else