CI: Always checkout latest
This commit is contained in:
parent
8e8ac885e2
commit
6af3e22bc3
|
@ -34,18 +34,6 @@ jobs:
|
||||||
submodules: false # MicroPython submodules are hideously broken
|
submodules: false # MicroPython submodules are hideously broken
|
||||||
path: micropython
|
path: micropython
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
path: pimoroni-pico-${{ github.sha }}
|
|
||||||
|
|
||||||
# Copy Python module files
|
|
||||||
- name: Copy modules
|
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
|
||||||
cp -r pimoroni-pico-${GITHUB_SHA}/micropython/modules_py/* micropython/ports/rp2/modules/
|
|
||||||
|
|
||||||
- name: Fetch base MicroPython submodules
|
- name: Fetch base MicroPython submodules
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -105,6 +93,16 @@ jobs:
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
|
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
|
||||||
|
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
path: pimoroni-pico-${{ github.sha }}
|
||||||
|
|
||||||
|
# Copy Python module files
|
||||||
|
- name: Copy modules
|
||||||
|
run: |
|
||||||
|
cp -r pimoroni-pico-${GITHUB_SHA}/micropython/modules_py/* micropython/ports/rp2/modules/
|
||||||
|
|
||||||
- name: Configure MicroPython
|
- name: Configure MicroPython
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in New Issue