Skip to content

Commit

Permalink
nektos/act compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy4495 committed Aug 30, 2023
1 parent 1ece7fd commit 0abd0fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/arduino-compile-sketches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Clone compile-sketches to get python version (using nektos/act locally)
if: ${{ env.ACT }}
run: cd /tmp; git clone 'https://github.com/arduino/compile-sketches'
- name: setup-python (when running locally for nektos/act compatibility)
if: ${{ env.ACT }}
uses: actions/setup-python@v4
with:
python-version: '>=3.11'
python-version-file: /tmp/compile-sketches/.python-version
- name: Install Poetry (when running locally for nektos/act compatibility)
if: ${{ env.ACT }}
uses: snok/install-poetry@v1
Expand Down

0 comments on commit 0abd0fa

Please sign in to comment.