@@ -36,27 +36,13 @@ jobs:
36
36
- name : Install Poetry
37
37
run : pip install poetry
38
38
39
- - name : Install Arduino CLI
40
- uses : arduino/setup-arduino-cli@v1
41
-
42
- - name : Install platforms
43
- run : |
44
- arduino-cli core update-index -v
45
- arduino-cli version
46
- arduino-cli core install arduino:samd@${{ env.SAMD_V }} -v
47
- env :
48
- SAMD_V : 1.8.11
49
-
50
39
- name : Install dependencies
51
40
run : |
52
41
cd $GITHUB_WORKSPACE
53
42
task poetry:install-deps
54
43
55
44
- name : Generate plugin firmware index
56
- run : poetry run ./generator.py -a $(which arduino-cli)
57
-
58
- - name : Generate module firmware index
59
- run : poetry run ./generator.py -a $(which arduino-cli) --no-new
45
+ run : poetry run ./generator.py
60
46
61
47
# fix `gpg: signing failed: Inappropriate ioctl for device`
62
48
# https://github.com/keybase/keybase-issues/issues/2798
68
54
69
55
# disable gpg pass prompt
70
56
# https://stackoverflow.com/questions/49072403/suppress-the-passphrase-prompt-in-gpg-command
71
- - name : sign the module firmware index json
72
- run : |
73
- gpg \
74
- --pinentry-mode=loopback \
75
- --passphrase "${{ secrets.PASSPHRASE }}" \
76
- --output boards/module_firmware_index.json.sig \
77
- --detach-sign boards/module_firmware_index.json
78
57
79
58
- name : sign the plugin firmware index json
80
59
run : |
85
64
--detach-sign boards/plugin_firmware_index.json
86
65
87
66
- name : create the gzip
88
- run : gzip --keep boards/module_firmware_index.json boards/ plugin_firmware_index.json
67
+ run : gzip --keep boards/plugin_firmware_index.json
89
68
90
69
- name : s3 sync
91
70
run : |
0 commit comments