Skip to content

Commit

Permalink
Update for nektos/act compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy4495 committed Aug 24, 2023
1 parent 6077697 commit 16f4a95
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/arduino-compile-sketches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@ name: Arduino Compile Sketches

on:
push:
workflow_dispatch:

jobs:
compile-sketches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: setup-python (when running locally for nektos/act compatibility)
if: ${{ env.ACT }}
uses: actions/setup-python@v4
with:
python-version: '>=3.11'
- name: Install Poetry (when running locally for nektos/act compatibility)
if: ${{ env.ACT }}
uses: snok/install-poetry@v1
- name: Install pipx (when running locally for nektos/act compatibility)
if: ${{ env.ACT }}
run: pip install pipx
- uses: arduino/compile-sketches@v1
with:
fqbn: 'energia:msp430:MSP-EXP430G2553LP'
Expand Down

0 comments on commit 16f4a95

Please sign in to comment.