sfe_beta_07_auto #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sparkfun ports | |
on: | |
release: | |
types: [created] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'micropython repo' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: 'micropython repo' | |
- name: Install RP2 package | |
run: source tools/ci.sh && ci_rp2_setup | |
- id: idf_ver | |
name: Read the ESP-IDF version (including Python version) | |
run: source tools/ci.sh && echo "IDF_VER=${IDF_VER}-py${PYTHON_VER}" | tee "$GITHUB_OUTPUT" | |
- name: Install ESP-IDF packages | |
run: source tools/ci.sh && ci_esp32_idf_setup | |
- name: Build | |
run: source sparkfun_build.sh && build_sparkfun -o sparkfun_release -p "MICROPYTHON_" -q qwiic_lib | |
env: | |
GH_TOKEN: ${{ github.token }} | |
- name: Upload Release Assets | |
uses: shogo82148/actions-upload-release-asset@v1 | |
with: | |
asset_path: "micropython repo/sparkfun_release/*" | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
upload_url: ${{ github.event.release.upload_url }} | |