Skip to content

Fix CAN + boot mux selector #21

Fix CAN + boot mux selector

Fix CAN + boot mux selector #21

Workflow file for this run

name: atopile electronics CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build
uses: docker://ghcr.io/atopile/atopile-kicad
- name: Upload Combined Artifacts
uses: actions/upload-artifact@v4
with:
name: build
path: build
- name: Zip 3D files and CSVs
run: |
mkdir -p artifacts
zip -r artifacts/electronics_build_artifacts.zip build/*.zip build/*.csv
- name: Configure AWS Credentials
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Sync artifacts to S3
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
aws s3 sync artifacts s3://atopile/spin/electronics --delete --cache-control max-age=0,no-cache