Skip to content

Commit

Permalink
Changed release upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorPopp authored Jan 16, 2025
1 parent 1375f26 commit 98d9238
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,12 @@ jobs:
run: |
tag=${{ env.release_tag }}
asset_path="target/x86_64-infinity_os/debug/bootimage-infinity_os.bin"
asset_name="bootimage-infinity_os.bin"
if [ -f "$asset_path" ]; then
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="Release $tag" \
--generate-notes \
--assets "$asset_path"
"$asset_path"
else
echo "Asset file $asset_path not found. Skipping release creation."
exit 1
Expand Down

0 comments on commit 98d9238

Please sign in to comment.