kopia lustrzana https://github.com/pimoroni/pimoroni-pico
CI: Experimental: Set nano.specs on MicroPython C++ root module.
rodzic
7b7352130f
commit
06d27da558
|
@ -7,7 +7,7 @@ on:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
MICROPYTHON_VERSION: 38e7b842c6bc8122753cbf0845eb141f28fbcb72
|
MICROPYTHON_VERSION: aa067da1d2de875ac63b2bed6264c69de8440b94
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deps:
|
deps:
|
||||||
|
@ -28,7 +28,7 @@ jobs:
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: micropython/micropython
|
repository: pimoroni/micropython
|
||||||
ref: ${{env.MICROPYTHON_VERSION}}
|
ref: ${{env.MICROPYTHON_VERSION}}
|
||||||
submodules: false # MicroPython submodules are hideously broken
|
submodules: false # MicroPython submodules are hideously broken
|
||||||
path: micropython
|
path: micropython
|
||||||
|
@ -160,6 +160,7 @@ jobs:
|
||||||
working-directory: micropython/ports/rp2/build-${{matrix.board}}
|
working-directory: micropython/ports/rp2/build-${{matrix.board}}
|
||||||
run: |
|
run: |
|
||||||
cp firmware.uf2 $RELEASE_FILE.uf2
|
cp firmware.uf2 $RELEASE_FILE.uf2
|
||||||
|
cp firmware.elf $RELEASE_FILE.elf
|
||||||
|
|
||||||
- name: Store .uf2 as artifact
|
- name: Store .uf2 as artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
@ -167,6 +168,12 @@ jobs:
|
||||||
name: ${{env.RELEASE_FILE}}.uf2
|
name: ${{env.RELEASE_FILE}}.uf2
|
||||||
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}.uf2
|
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}.uf2
|
||||||
|
|
||||||
|
- name: Store .elf as artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: ${{env.RELEASE_FILE}}.elf
|
||||||
|
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}.elf
|
||||||
|
|
||||||
- name: Upload .uf2
|
- name: Upload .uf2
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
|
|
Ładowanie…
Reference in New Issue