Merge pull request #127 from Gadgetoid/patch-micropython-1.15

Fix for MicroPython build changes, and pin to v1.15
breakouts-dev
Philip Howard 2021-04-20 09:13:45 +01:00 zatwierdzone przez GitHub
commit a528dbc6e6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -8,8 +8,9 @@ on:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
MICROPYTHON_VERSION: v1.15
BUILD_TYPE: Release
RELEASE_FILE: ${{github.event.repository.name}}-micropython-${{github.event.release.tag_name}}.uf2
BOARD_TYPE: PICO
jobs:
build:
@ -31,7 +32,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: micropython/micropython
ref: master
ref: ${{env.MICROPYTHON_VERSION}}
submodules: false # MicroPython submodules are hideously broken
path: micropython
@ -72,7 +73,7 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
asset_path: micropython/ports/rp2/build/firmware.uf2
asset_path: micropython/ports/rp2/build-${{env.BOARD_TYPE}}/firmware.uf2
upload_url: ${{github.event.release.upload_url}}
asset_name: ${{env.RELEASE_FILE}}
asset_name: ${{github.event.repository.name}}-${{github.event.release.tag_name}}-micropython-${{env.MICROPYTHON_VERSION}}.uf2
asset_content_type: application/octet-stream