Skip to content

Commit ec8af65

Browse files
committed
update ci
Signed-off-by: artivis <[email protected]>
1 parent 08fc0eb commit ec8af65

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ubuntu-core-image.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: TurtleBot3c Ubuntu Core image
22
on:
33
push:
44
branches:
5-
- main
5+
- noetic
66
tags:
77
- '*'
88
pull_request:
99
branches:
10-
- main
10+
- noetic
1111
workflow_dispatch:
1212

1313
jobs:
14-
turtlebot3c-pi-gadget-snap:
14+
turtlebot3c-gadget-snap:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repo
@@ -20,27 +20,27 @@ jobs:
2020
id: build-snap
2121
uses: snapcore/action-build@v1
2222
with:
23-
path: pi-gadget
23+
path: turtlebot3c-gadget
2424
- name: Upload snap artifact
2525
uses: actions/upload-artifact@v4
2626
with:
27-
name: turtlebot3c-pi-gadget-snap
27+
name: turtlebot3c-gadget-snap
2828
path: ${{ steps.build-snap.outputs.snap }}
2929
ubuntu-image:
3030
runs-on: ubuntu-latest
31-
needs: turtlebot3c-pi-gadget-snap
31+
needs: turtlebot3c-gadget-snap
3232
steps:
3333
- name: Checkout repo
3434
uses: actions/checkout@v4
3535
- name: Download gadget snap
3636
uses: actions/download-artifact@v4
3737
with:
38-
name: turtlebot3c-pi-gadget-snap
39-
path: pi-gadget
38+
name: turtlebot3c-gadget-snap
39+
path: gadget
4040
- name: Build the Ubuntu Core image
4141
run: |
4242
sudo snap install ubuntu-image --classic
43-
ubuntu-image snap turtlebot3c.model --snap ./pi-gadget/turtlebot3c-pi_*_arm64.snap
43+
ubuntu-image snap turtlebot3c.model --snap ./gadget/turtlebot3c*.snap
4444
- name: Upload snap artifact
4545
uses: actions/upload-artifact@v4
4646
with:

0 commit comments

Comments
 (0)