CI: Set MICROPY_GIT_TAG and MICROPY_GIT_HASH for #752.

This commit is contained in:
Phil Howard 2023-04-26 09:59:34 +01:00
parent 334283a8f6
commit c25de67247
1 changed files with 6 additions and 0 deletions

View File

@ -125,6 +125,12 @@ jobs:
with:
submodules: true
path: pimoroni-pico-${{ github.sha }}
- name: Set MicroPython Version Env Vars
shell: bash
run: |
echo "MICROPY_GIT_TAG=$MICROPYTHON_VERSION, ${{matrix.name}} ${{github.event.release.tag_name || github.sha}}" >> $GITHUB_ENV
echo "MICROPY_GIT_HASH=$MICROPYTHON_VERSION-${{github.event.release.tag_name || github.sha}}" >> $GITHUB_ENV
- name: "HACK: Revert Pico SDK Patch" # Avoid an already-patched MicroPython tree breaking our build
shell: bash