-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit d1aa446
Refactor signing certificate handling in "Arduino IDE" workflow
Previously, there was some code duplication of the complex code signing certificate handling commands, which made the
related code more difficult to understand, maintain, and develop.
The cause of this duplication is that there is a separate certificate for each operating system, each of which is stored
in separate repository secrets, as well as a different certificate file extension for each OS. Since the secret names
and file extensions are associated with the operating system, it is most logical to define them via attributes alongside
the operating system definition in the job matrix configuration already used to generate the parallel job runs for
native build on each OS.
That done, the certificate handling commands are universal and the system can easily expand to additional host targets
(e.g., Apple M1) as time goes on.1 parent e454acb commit d1aa446
1 file changed
+15
-15
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | + | ||
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
26 | + | ||
27 | + | ||
28 | + | ||
25 | 29 |
| |
26 | 30 |
| |
31 | + | ||
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | ||
27 | 36 |
| |
28 | 37 |
| |
29 | 38 |
| |
| |||
59 | 68 |
| |
60 | 69 |
| |
61 | 70 |
| |
62 | - | ||
63 | - | ||
64 | - | ||
65 | - | ||
66 | - | ||
67 | - | ||
68 | - | ||
69 | - | ||
70 | - | ||
71 | - | ||
72 | - | ||
73 | - | ||
74 | - | ||
75 | - | ||
76 | - | ||
71 | + | ||
72 | + | ||
73 | + | ||
77 | 74 |
| |
78 | 75 |
| |
76 | + | ||
77 | + | ||
78 | + | ||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
|
0 commit comments