|
@@ -12,6 +12,9 @@ jobs:
|
12
|
12
|
build:
|
13
|
13
|
runs-on: ubuntu-latest
|
14
|
14
|
|
|
15
|
+ permissions:
|
|
16
|
+ contents: write
|
|
17
|
+
|
15
|
18
|
steps:
|
16
|
19
|
- name: Install dependencies
|
17
|
20
|
run: sudo apt-get install -y cxxtest build-essential gcc-arm-none-eabi mtools zip
|
|
@@ -66,7 +69,7 @@ jobs:
|
66
|
69
|
if: startsWith(github.ref, 'refs/tags/')
|
67
|
70
|
run: |
|
68
|
71
|
cd ${{github.workspace}}/repo/build
|
69
|
|
- zip -r picowota_gadget.uf2 gadget.elf firmware
|
|
72
|
+ zip -r firmware picowota_gadget.uf2 gadget.elf
|
70
|
73
|
|
71
|
74
|
- name: Upload release files
|
72
|
75
|
if: startsWith(github.ref, 'refs/tags/')
|