Comments (1)
Hi @faultfactory. Thanks for your report. Each of the elements of the platforms
input list is a separate platform definition object. These objects consist of the keys mentioned in the documentation.
Your code here:
platforms: |
- name: "adafruit:samd"
- source-url: "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json"
contains two separate platform definition objects, one for each of the elements of the list. So you have specified that a platform with the ID adafruit:samd
should be installed, then you have specified that different platform with Boards Manager package index https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
should be installed.
But what you were intended to do was specify a single platform. To do that, all keys must be in the same element, like this:
platforms: |
- name: "adafruit:samd"
source-url: "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json"
So the documentation is correct, and the action works just as documented. However, I think this indicates it is not as clear as it should be. We can use this issue to track the need to improve on that.
Probably the most helpful thing would be to provide a dedicated example snippet for each of the source type sections under the platforms
input documentation (currently there is only at the top level section of that documentation).
I think the wording could also be improved to be more clear.
If anyone wants to submit pull requests proposing improvements to the documentation, I would be happy to review them.
appended the URL to the fqbn field
The code that allows that was added to provided backwards compatibility for workflows using the poorly designed API of the earliest alpha version of the action. It is deprecated and might be removed at any time. Use of that API is strongly discouraged.
from compile-sketches.
Related Issues (17)
- Ability to exclude specific examples in a matrix build HOT 3
- Ability to prep build environment without building HOT 3
- Support for --build-property HOT 1
- Import relevant commit history from experimental repository HOT 5
- Support for ESP32 HOT 2
- [Feature] Support Platform.local.txt HOT 1
- operation / task cancelled HOT 1
- How to get the compiled HEX? HOT 2
- Adding Problem Matchers to display compilation errors as annotation. HOT 7
- Add option to use path with spaces HOT 1
- output compile time for each sketch HOT 2
- could a runner's cache be supported? HOT 4
- Spaces in FQBN are not supported HOT 3
- compile-sketches uses gnu++11... HOT 3
- Deprecation warning HOT 1
- Rate limiting failures have started appearing frequently in the past few weeks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compile-sketches.