Skip to content

Commit

Permalink
Merge pull request #1 from Andy4495/testpip
Browse files Browse the repository at this point in the history
Installs of python, poetry, pipx no longer necessary.
  • Loading branch information
Andy4495 authored Sep 19, 2023
2 parents dc5912c + cabe4de commit 8ccb902
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/arduino-compile-sketches.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# Adapted from: https://github.com/marketplace/actions/compile-arduino-sketches
#
# To customize:
# - Select which platforms to build and edit the matrix section below
# - Add library dependencies as needed for this repo in the libraries section below
#
name: Arduino Compile Sketches

Expand Down Expand Up @@ -37,20 +33,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Clone compile-sketches to get python version (using nektos/act locally)
- name: Update PATH if using nektos/act locally
if: ${{ env.ACT }}
run: cd /tmp; if [ ! -d compile-sketches ]; then git clone 'https://github.com/arduino/compile-sketches'; fi
- name: setup-python (when running locally for nektos/act compatibility)
if: ${{ env.ACT }}
uses: actions/setup-python@v4
with:
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
- name: Install pipx (when running locally for nektos/act compatibility)
if: ${{ env.ACT }}
run: pip install pipx
run: |
echo "/root/.local/bin" >> $GITHUB_PATH
- name: Copy file if necessary
if: ${{ inputs.copyfile }}
run: |
Expand Down

0 comments on commit 8ccb902

Please sign in to comment.