Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/ubuntu-core-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
with:
name: turtlebot3c-ubuntu-image
path: turtlebot3c.img
- name: Upload metadata artifact
uses: actions/upload-artifact@v4
with:
name: turtlebot3c-metadata
path: metadata.tar.gz
qcow2-convertion:
runs-on: ubuntu-latest
needs: ubuntu-image
Expand Down Expand Up @@ -81,15 +86,18 @@ jobs:
with:
name: turtlebot3c-ubuntu-qcow2-image
path: .
- name: Download TurtleBot3c metadata
uses: actions/download-artifact@v4
with:
name: turtlebot3c-metadata
path: .
# The image must be compressed.
# GH release max file size is 2GB
# and the uncompressed image is 3.5GB.
- name: Compress the Ubuntu image
run: |
tar czf turtlebot3c.img.tar.gz turtlebot3c.img
run: tar czf turtlebot3c.img.tar.gz turtlebot3c.img
- name: Compress the Ubuntu qcow2 image
run: |
tar czf turtlebot3c.qcow2.tar.gz turtlebot3c.qcow2
run: tar czf turtlebot3c.qcow2.tar.gz turtlebot3c.qcow2 metadata.tar.gz
- name: Release
uses: softprops/action-gh-release@v2
with:
Expand Down