diff --git a/.github/workflows/micropython-badger2040w.yml b/.github/workflows/micropython-badger2040w.yml index 50f8080c..f35cbb1b 100644 --- a/.github/workflows/micropython-badger2040w.yml +++ b/.github/workflows/micropython-badger2040w.yml @@ -151,3 +151,14 @@ jobs: upload_url: ${{github.event.release.upload_url}} asset_name: ${{env.RELEASE_FILE}}.uf2 asset_content_type: application/octet-stream + + - name: Upload .uf2 + examples + if: github.event_name == 'release' + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + with: + asset_path: ${{env.RELEASE_FILE}}-with-examples.uf2 + upload_url: ${{github.event.release.upload_url}} + asset_name: ${{env.RELEASE_FILE}}-with-examples.uf2 + asset_content_type: application/octet-stream