File tree 1 file changed +11
-2
lines changed 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,11 @@ jobs:
78
78
name : ${{ matrix.board }}
79
79
path : _bin/${{ matrix.board }}
80
80
81
- - name : Creat Release Asset
81
+ - name : Create Release Asset
82
82
if : ${{ github.event_name == 'release' }}
83
83
run : zip -jr ${{ matrix.board }}_bootloader-${{ github.event.release.tag_name }}.zip _bin/${{ matrix.board }}
84
84
85
85
- name : Upload Release Asset
86
- id : upload-release-asset
87
86
uses : actions/upload-release-asset@v1
88
87
env :
89
88
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
94
93
asset_name : ${{ matrix.board }}_bootloader-${{ github.event.release.tag_name }}.zip
95
94
asset_content_type : application/zip
96
95
96
+ - name : Upload Release Asset for Self-Update
97
+ uses : actions/upload-release-asset@v1
98
+ env :
99
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
100
+ if : ${{ github.event_name == 'release' }}
101
+ with :
102
+ upload_url : ${{ github.event.release.upload_url }}
103
+ asset_path : _bin/${{ matrix.board }}/update-${{ matrix.board }}_bootloader-${{ github.event.release.tag_name }}_nosd.uf2
104
+ asset_name : update-${{ matrix.board }}_bootloader-${{ github.event.release.tag_name }}_nosd.uf2
105
+ asset_content_type : application/x-binary
You can’t perform that action at this time.
0 commit comments