From bb1b77633eab838502ee6f5dd849d923a1a24136 Mon Sep 17 00:00:00 2001 From: martha-johnston <106617924+martha-johnston@users.noreply.github.com> Date: Wed, 4 Dec 2024 15:51:28 -0500 Subject: [PATCH] stop using canon in module workflows, use image directly instead (#2) --- .github/workflows/release.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4004020..31fb3ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,8 @@ jobs: label: arm64 runs-on: ${{ matrix.arch }} + container: + image: ${{ matrix.image }} steps: - uses: actions/checkout@v3 @@ -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