Skip to content

Add shortcut mechanism #199

Add shortcut mechanism

Add shortcut mechanism #199

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
workflow_call:
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Set circle as writable
run: |
sudo chown -R $USER:$USER $(pwd)
shell: bash
working-directory: .
- name: Prepare SD Card
run: |
mkdir sdcard
shell: bash
working-directory: .
- name: Build Pi
uses: ./sugarpi-action
id: buildpi
- uses: actions/upload-artifact@v4
with:
name: SugarPi
path: sdcard/*