|
1 | 1 | name: Build |
2 | 2 |
|
3 | 3 | on: |
| 4 | + workflow_dispatch: |
4 | 5 | pull_request: |
5 | 6 | push: |
6 | 7 | repository_dispatch: |
@@ -33,36 +34,36 @@ jobs: |
33 | 34 | matrix: |
34 | 35 | board: ${{ fromJSON(needs.set-matrix.outputs.matrix) }} |
35 | 36 | steps: |
36 | | - - name: Checkout Code |
37 | | - uses: actions/checkout@v4 |
38 | | - with: |
39 | | - fetch-depth: 0 |
40 | | - submodules: true |
| 37 | + - name: Checkout Code |
| 38 | + uses: actions/checkout@v4 |
| 39 | + with: |
| 40 | + fetch-depth: 0 |
| 41 | + submodules: true |
41 | 42 |
|
42 | | - - name: Install ARM GCC |
43 | | - uses: carlosperate/arm-none-eabi-gcc-action@v1 |
44 | | - with: |
45 | | - release: '12.3.Rel1' |
| 43 | + - name: Install ARM GCC |
| 44 | + uses: carlosperate/arm-none-eabi-gcc-action@v1 |
| 45 | + with: |
| 46 | + release: 12.3.Rel1 |
46 | 47 |
|
47 | | - - name: Install Tools |
48 | | - run: | |
49 | | - pip3 install adafruit-nrfutil uritemplate requests intelhex setuptools |
| 48 | + - name: Install Tools |
| 49 | + run: | |
| 50 | + pip3 install adafruit-nrfutil uritemplate requests intelhex setuptools |
50 | 51 |
|
51 | | - - name: Build |
52 | | - run: | |
53 | | - make BOARD=${{ matrix.board }} all |
54 | | - make BOARD=${{ matrix.board }} copy-artifact |
| 52 | + - name: Build |
| 53 | + run: | |
| 54 | + make BOARD=${{ matrix.board }} all |
| 55 | + make BOARD=${{ matrix.board }} copy-artifact |
55 | 56 |
|
56 | | - - uses: actions/upload-artifact@v4 |
57 | | - with: |
58 | | - name: ${{ matrix.board }} |
59 | | - path: _bin/${{ matrix.board }} |
| 57 | + - uses: actions/upload-artifact@v4 |
| 58 | + with: |
| 59 | + name: ${{ matrix.board }} |
| 60 | + path: _bin/${{ matrix.board }} |
60 | 61 |
|
61 | | - - name: Upload Release Asset |
62 | | - uses: softprops/action-gh-release@v1 |
63 | | - if: ${{ github.event_name == 'release' }} |
64 | | - with: |
65 | | - files: | |
66 | | - _bin/${{ matrix.board }}/${{ matrix.board }}_bootloader-*.zip |
67 | | - _bin/${{ matrix.board }}/${{ matrix.board }}_bootloader-*.hex |
68 | | - _bin/${{ matrix.board }}/update-${{ matrix.board }}_bootloader-*.uf2 |
| 62 | + - name: Upload Release Asset |
| 63 | + uses: softprops/action-gh-release@v1 |
| 64 | + if: ${{ github.event_name == 'release' }} |
| 65 | + with: |
| 66 | + files: | |
| 67 | + _bin/${{ matrix.board }}/${{ matrix.board }}_bootloader-*.zip |
| 68 | + _bin/${{ matrix.board }}/${{ matrix.board }}_bootloader-*.hex |
| 69 | + _bin/${{ matrix.board }}/update-${{ matrix.board }}_bootloader-*.uf2 |
0 commit comments