Skip to content

Commit

Permalink
Merge pull request #1018 from pimoroni/patch-upload-release-assets
Browse files Browse the repository at this point in the history
CI: Switch to action-gh-release.
  • Loading branch information
Gadgetoid authored Oct 25, 2024
2 parents 3b03a30 + 3587b1b commit 58089a4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/micropython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,6 @@ jobs:

- name: Upload .uf2
if: github.event_name == 'release'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
asset_path: build-${{ matrix.name }}/firmware.uf2
upload_url: ${{ github.event.release.upload_url }}
asset_name: ${{ env.RELEASE_FILE }}.uf2
asset_content_type: application/octet-stream
files: build-${{ matrix.name }}/${{ env.RELEASE_FILE }}.uf2

0 comments on commit 58089a4

Please sign in to comment.