From c25de672473de4cf872a24525886d16dc9d76dc8 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 26 Apr 2023 09:59:34 +0100 Subject: [PATCH] CI: Set MICROPY_GIT_TAG and MICROPY_GIT_HASH for #752. --- .github/workflows/micropython.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/micropython.yml b/.github/workflows/micropython.yml index 585a1b0a..1a0f10be 100644 --- a/.github/workflows/micropython.yml +++ b/.github/workflows/micropython.yml @@ -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