Skip to content

Commit f6b9d1b

Browse files
committed
.github/workflows: Build release in venv.
This is used to build image assets, but this step was missed in the release workflow.
1 parent 9fff3ad commit f6b9d1b

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,20 @@ jobs:
2424
with:
2525
submodules: true
2626
fetch-depth: 0
27+
- run: pipx install poetry
28+
- run: poetry install --only=build
2729
- name: Build firmware
2830
run: |
2931
export MICROPY_GIT_TAG=ci-release-${{ github.run_number }}-$(git describe --tags --dirty --always --exclude "@pybricks/*")
3032
export MICROPY_GIT_HASH=$(echo ${{ github.sha }} | cut -c1-8)
31-
make $MAKEOPTS -C micropython/mpy-cross
32-
make $MAKEOPTS -C bricks/movehub
33-
make $MAKEOPTS -C bricks/cityhub
34-
make $MAKEOPTS -C bricks/technichub
35-
make $MAKEOPTS -C bricks/primehub
36-
make $MAKEOPTS -C bricks/essentialhub
37-
make $MAKEOPTS -C bricks/nxt
38-
make $MAKEOPTS -C bricks/ev3
33+
poetry run make $MAKEOPTS -C micropython/mpy-cross
34+
poetry run make $MAKEOPTS -C bricks/movehub
35+
poetry run make $MAKEOPTS -C bricks/cityhub
36+
poetry run make $MAKEOPTS -C bricks/technichub
37+
poetry run make $MAKEOPTS -C bricks/primehub
38+
poetry run make $MAKEOPTS -C bricks/essentialhub
39+
poetry run make $MAKEOPTS -C bricks/nxt
40+
poetry run make $MAKEOPTS -C bricks/ev3
3941
- name: Get tag
4042
run: echo "GITHUB_TAG=${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV
4143
- name: Create Release and Upload Assets

0 commit comments

Comments
 (0)