File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Pico HID Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*"
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+
15
+ - name : Installing deps ...
16
+ run : sudo apt-get install cmake gcc-arm-none-eabi build-essential
17
+
18
+ - name : Building ...
19
+ run : make -C hid/pico all
20
+
21
+ - name : Releasing ...
22
+ id : create_release
23
+ uses : actions/create-release@v1
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ with :
27
+ tag_name : ${{ github.ref }}
28
+ release_name : Release ${{ github.ref }}
29
+ draft : false
30
+ prerelease : false
31
+
32
+ - name : Uploading firmware ...
33
+ id : upload-release-asset
34
+ uses : actions/upload-release-asset@v1
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
+ with :
38
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
39
+ asset_path : ./hid/pico/hid.uf2
40
+ asset_name : pico-hid.uf2
41
+ asset_content_type : application/octet-stream
You can’t perform that action at this time.
0 commit comments