Skip to content

Commit 25efb91

Browse files
committed
CI: Upload Badger 2040 W examples .uf2 to release files.
1 parent 943ea13 commit 25efb91

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/micropython-badger2040w.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,14 @@ jobs:
151151
upload_url: ${{github.event.release.upload_url}}
152152
asset_name: ${{env.RELEASE_FILE}}.uf2
153153
asset_content_type: application/octet-stream
154+
155+
- name: Upload .uf2 + examples
156+
if: github.event_name == 'release'
157+
uses: actions/upload-release-asset@v1
158+
env:
159+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
160+
with:
161+
asset_path: ${{env.RELEASE_FILE}}-with-examples.uf2
162+
upload_url: ${{github.event.release.upload_url}}
163+
asset_name: ${{env.RELEASE_FILE}}-with-examples.uf2
164+
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)