Skip to content

Commit 58089a4

Browse files
authored
Merge pull request #1018 from pimoroni/patch-upload-release-assets
CI: Switch to action-gh-release.
2 parents 3b03a30 + 3587b1b commit 58089a4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/micropython.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,6 @@ jobs:
127127

128128
- name: Upload .uf2
129129
if: github.event_name == 'release'
130-
uses: actions/upload-release-asset@v1
131-
env:
132-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130+
uses: softprops/action-gh-release@v2
133131
with:
134-
asset_path: build-${{ matrix.name }}/firmware.uf2
135-
upload_url: ${{ github.event.release.upload_url }}
136-
asset_name: ${{ env.RELEASE_FILE }}.uf2
137-
asset_content_type: application/octet-stream
132+
files: build-${{ matrix.name }}/${{ env.RELEASE_FILE }}.uf2

0 commit comments

Comments
 (0)