|
24 | 24 | - 'itsybitsy_nrf52840_express' |
25 | 25 | - 'metro_nrf52840_express' |
26 | 26 | - 'ledglasses_nrf52840' |
27 | | - # Alphabetical order |
| 27 | + # Other Makers (Alphabetical order) |
28 | 28 | - 'adm_b_nrf52840_1' |
29 | 29 | - 'ae_bl652_bo' |
30 | 30 | - 'aramcon_badge_2019' |
@@ -96,28 +96,11 @@ jobs: |
96 | 96 | name: ${{ matrix.board }} |
97 | 97 | path: _bin/${{ matrix.board }} |
98 | 98 |
|
99 | | - - name: Create Release Asset |
100 | | - if: ${{ github.event_name == 'release' }} |
101 | | - run: zip -jr ${{ matrix.board }}_bootloader-${{ github.event.release.tag_name }}.zip _bin/${{ matrix.board }} |
102 | | - |
103 | 99 | - name: Upload Release Asset |
104 | | - uses: actions/upload-release-asset@v1 |
105 | | - env: |
106 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
107 | | - if: ${{ github.event_name == 'release' }} |
108 | | - with: |
109 | | - upload_url: ${{ github.event.release.upload_url }} |
110 | | - asset_path: ${{ matrix.board }}_bootloader-${{ github.event.release.tag_name }}.zip |
111 | | - asset_name: ${{ matrix.board }}_bootloader-${{ github.event.release.tag_name }}.zip |
112 | | - asset_content_type: application/zip |
113 | | - |
114 | | - - name: Upload Release Asset for Self-Update |
115 | | - uses: actions/upload-release-asset@v1 |
116 | | - env: |
117 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 100 | + uses: softprops/action-gh-release@v1 |
118 | 101 | if: ${{ github.event_name == 'release' }} |
119 | 102 | with: |
120 | | - upload_url: ${{ github.event.release.upload_url }} |
121 | | - asset_path: _bin/${{ matrix.board }}/update-${{ matrix.board }}_bootloader-${{ github.event.release.tag_name }}_nosd.uf2 |
122 | | - asset_name: update-${{ matrix.board }}_bootloader-${{ github.event.release.tag_name }}_nosd.uf2 |
123 | | - asset_content_type: application/x-binary |
| 103 | + files: | |
| 104 | + _bin/${{ matrix.board }}/${{ matrix.board }}_bootloader-*.zip |
| 105 | + _bin/${{ matrix.board }}/${{ matrix.board }}_bootloader-*.hex |
| 106 | + _bin/${{ matrix.board }}/update-${{ matrix.board }}_bootloader-*.uf2 |
0 commit comments