Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Amiya-873 authored Sep 24, 2024
1 parent aee2e5d commit 39448fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/zip" \
--data-binary @"$file" \
"${{ steps.create_release.outputs.upload_url }}&name=$(basename "$file")"
"${{ steps.create_release.outputs.upload_url }}&name=$(basename "$file")" \
|| echo "Failed to upload $file" # Added error handling
fi
done

0 comments on commit 39448fa

Please sign in to comment.