Skip to content

Commit

Permalink
Release both UF2 files
Browse files Browse the repository at this point in the history
  • Loading branch information
robin7331 committed Jul 7, 2023
1 parent 54eea0e commit e3bc135
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pixel_pump_dev.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Pixel Pump Dev


on:
push:
branches:
- dev
pull_request:
branches:
- dev

jobs:
dev-build:
Expand Down Expand Up @@ -40,12 +44,13 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/micropython/
make -C ports/rp2 BOARD_DIR=$GITHUB_WORKSPACE/boards/PIXEL_PUMP BOARD_VARIANT=EMPTY
mv $GITHUB_WORKSPACE/micropython/ports/rp2/build-PIXEL_PUMP/firmware.uf2 $GITHUB_WORKSPACE/micropython/ports/rp2/build-PIXEL_PUMP/firmware-blank.uf2
mv $GITHUB_WORKSPACE/micropython/ports/rp2/build-PIXEL_PUMP/firmware.uf2 $GITHUB_WORKSPACE/firmware-blank.uf2
- name: Build Pixel Pump Firmware
run: |
cd $GITHUB_WORKSPACE/micropython/
make -C ports/rp2 BOARD_DIR=$GITHUB_WORKSPACE/boards/PIXEL_PUMP clean
make -C ports/rp2 BOARD_DIR=$GITHUB_WORKSPACE/boards/PIXEL_PUMP
mv $GITHUB_WORKSPACE/micropython/ports/rp2/build-PIXEL_PUMP/firmware.uf2 $GITHUB_WORKSPACE/firmware.uf2
- uses: marvinpinto/action-automatic-releases@latest
name: Release
with:
Expand All @@ -55,8 +60,8 @@ jobs:
title: "Pixel Pump Dev Build"
automatic_release_tag: latest
files: |
micropython/ports/rp2/build-PIXEL_PUMP/firmware.uf2
micropython/ports/rp2/build-PIXEL_PUMP/firmware-blank.uf2
firmware.uf2
firmware-blank.uf2
7 changes: 4 additions & 3 deletions .github/workflows/pixel_pump_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/micropython/
make -C ports/rp2 BOARD_DIR=$GITHUB_WORKSPACE/boards/PIXEL_PUMP BOARD_VARIANT=EMPTY
mv $GITHUB_WORKSPACE/micropython/ports/rp2/build-PIXEL_PUMP/firmware.uf2 $GITHUB_WORKSPACE/micropython/ports/rp2/build-PIXEL_PUMP/firmware-blank.uf2
mv $GITHUB_WORKSPACE/micropython/ports/rp2/build-PIXEL_PUMP/firmware.uf2 $GITHUB_WORKSPACE/firmware-blank.uf2
- name: Build Pixel Pump Firmware
run: |
cd $GITHUB_WORKSPACE/micropython/
make -C ports/rp2 BOARD_DIR=$GITHUB_WORKSPACE/boards/PIXEL_PUMP clean
make -C ports/rp2 BOARD_DIR=$GITHUB_WORKSPACE/boards/PIXEL_PUMP
mv $GITHUB_WORKSPACE/micropython/ports/rp2/build-PIXEL_PUMP/firmware.uf2 $GITHUB_WORKSPACE/firmware.uf2
- uses: marvinpinto/action-automatic-releases@latest
name: Release
with:
Expand All @@ -54,8 +55,8 @@ jobs:
draft: true
title: "Pixel Pump Release Build"
files: |
micropython/ports/rp2/build-PIXEL_PUMP/firmware.uf2
micropython/ports/rp2/build-PIXEL_PUMP/firmware-blank.uf2
firmware.uf2
firmware-blank.uf2

0 comments on commit e3bc135

Please sign in to comment.