Firmware: revise readme and add instructions for Mac #47
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/swoop/electronics --delete --cache-control max-age=0,no-cache |