Skip to content

Commit 804ede7

Browse files
committed
remove Arduino CLI install and module_fw_index.json generation in the CI
They are no more required after the latest commit
1 parent cabda74 commit 804ede7

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

.github/workflows/generate-index.yml

+2-23
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,13 @@ jobs:
3636
- name: Install Poetry
3737
run: pip install poetry
3838

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-
5039
- name: Install dependencies
5140
run: |
5241
cd $GITHUB_WORKSPACE
5342
task poetry:install-deps
5443
5544
- 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
6046

6147
# fix `gpg: signing failed: Inappropriate ioctl for device`
6248
# https://github.com/keybase/keybase-issues/issues/2798
@@ -68,13 +54,6 @@ jobs:
6854
6955
# disable gpg pass prompt
7056
# 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
7857

7958
- name: sign the plugin firmware index json
8059
run: |
@@ -85,7 +64,7 @@ jobs:
8564
--detach-sign boards/plugin_firmware_index.json
8665
8766
- 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
8968

9069
- name: s3 sync
9170
run: |

0 commit comments

Comments
 (0)