Skip to content

update workflow for p2 #4

update workflow for p2

update workflow for p2 #4

Workflow file for this run

name: Compile Firmware
on:
workflow_dispatch:
push:
paths:
- test/**
- .github/workflows/compile.yaml
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Compile application
id: compile
uses: particle-iot/compile-action@v1
with:
particle-access-token: ${{ secrets.PARTICLE_ACCESS_TOKEN }}
particle-platform-name: 'p2'
device-os-version: '6.3.2'
sources-folder: 'test/blink'
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: firmware-artifact
path: ${{ steps.compile.outputs.firmware-path }}