Skip to content
name: Build amd64 module
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
publish:
name: Upload module for linux/amd64
runs-on: [buildjet-8vcpu-ubuntu-2204-amd]
container:
image: ghcr.io/viam-labs/ocean-prefilter:amd64
options: --platform linux/amd64
timeout-minutes: 30
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Build
run: make module.tar.gz

Check failure on line 25 in .github/workflows/build-amd64-module.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-amd64-module.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
- name: Upload
uses: viamrobotics/upload-module@v1
with:
platform: linux/amd64
version: ${{ github.event_name == 'release' && github.ref_name || format('0.0.0-{0}.{1}', github.ref_name, github.run_number) }}
key-id: ${{ secrets.viam_key_id }}
key-value: ${{ secrets.viam_key_value }}