Merge pull request #670 from pimoroni/patch-badger-2040w-release-uf2
CI: Upload Badger 2040 W examples .uf2 to release files.
This commit is contained in:
commit
3bc0f019b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue