Skip to content

add a section on building to README #17

add a section on building to README

add a section on building to README #17

Workflow file for this run

# see https://github.com/viamrobotics/upload-module for help
on:
push:
release:
types: [released]
jobs:
publish:
runs-on: ${{matrix.runner}}
container: ghcr.io/viam-modules/universal-robots:${{ matrix.arch }}
strategy:
matrix:
include:
- arch: amd64
runner: ubuntu-latest
- arch: arm64
runner: buildjet-4vcpu-ubuntu-2204-arm
arch: [amd64, arm64]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: build
run: |
make appimage-${{ matrix.arch }}
mv packaging/appimages/deploy/universal-robots-*.AppImage universal-robots.AppImage
- uses: viamrobotics/upload-module@v1
# if: github.event_name == 'release' # <-- once the action is working, uncomment this so you only upload on release
with:
module-path: universal-robots.AppImage
platform: linux/${{ matrix.arch }}
version: ${{ github.ref_name }}
key-id: ${{ secrets.viam_key_id }}
key-value: ${{ secrets.viam_key_value }}
do-upload: ${{ github.event_name == 'release' }}