Skip to content

Commit

Permalink
stop using canon in module workflows, use image directly instead (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
martha-johnston authored Dec 4, 2024
1 parent 1b54b4f commit bb1b776
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
label: arm64

runs-on: ${{ matrix.arch }}
container:
image: ${{ matrix.image }}

steps:
- uses: actions/checkout@v3
Expand All @@ -40,15 +42,9 @@ jobs:
with:
go-version: 1.23

- name: Install canon
- name: Build module
run: |
export PATH="$(go env GOPATH)/bin:$PATH"
go install github.com/viamrobotics/canon@v1.0.0
- name: Build and package
run: |
canon --profile wit-motion
TARGET_OS=${{ matrix.platform }} TARGET_ARCH=${{ matrix.arch }} make module
sudo -u testbot bash -lc 'make module'
- name: Upload wit-motion module to registry
uses: viamrobotics/upload-module@main
Expand Down

0 comments on commit bb1b776

Please sign in to comment.