kopia lustrzana https://github.com/pimoroni/pimoroni-pico
CI: Switch to action-gh-release.
Switch from the long deprecated upload-release-asset to action-gh-release and attempt to replicate the same behaviour. Avoids nodejs and set-output deprecation warnings: - https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ - https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/pull/1018/head
rodzic
3b03a30963
commit
3587b1be9f
|
@ -127,11 +127,6 @@ jobs:
|
||||||
|
|
||||||
- name: Upload .uf2
|
- name: Upload .uf2
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
uses: actions/upload-release-asset@v1
|
uses: softprops/action-gh-release@v2
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
asset_path: build-${{ matrix.name }}/firmware.uf2
|
files: build-${{ matrix.name }}/${{ env.RELEASE_FILE }}.uf2
|
||||||
upload_url: ${{ github.event.release.upload_url }}
|
|
||||||
asset_name: ${{ env.RELEASE_FILE }}.uf2
|
|
||||||
asset_content_type: application/octet-stream
|
|
||||||
|
|
Ładowanie…
Reference in New Issue