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:
Philip Howard 2023-02-16 15:56:49 +00:00 committed by GitHub
commit 3bc0f019b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -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