arduino / actions Goto Github PK
View Code? Open in Web Editor NEWCollection of custom Github actions
License: Other
Collection of custom Github actions
License: Other
Hi,
Just received the following error using the setup-taskfile GH action.
Run Arduino/actions/setup-taskfile@master
with:
version: 2.x
env:
AWS_ACCESS_KEY_ID: ***
AWS_SECRET_ACCESS_KEY: ***
AWS_REGION: eu-west-2
TF_WORKSPACE: staging
GOROOT: /opt/hostedtoolcache/go/1.13.15/x64
##[error]API rate limit exceeded for 40.114.46.0. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Hi,
I am trying to use arduino/actions/libraries/compile-examples
for the stm32f103C
target (stm32duino/Arduino_Core_STM32
. I've added that platform to my repo and specified it via the source-path
.
on: ["push"]
jobs:
arduino:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: arduino/actions/libraries/compile-examples@master
with:
fqbn: "stm32duino:STM32F1:genericSTM32F103C"
platforms: |
- source-path: ".github/stm32duino/hardware/STM32F1"
name: "stm32duino:STM32F1"
sketch-paths: |
- first_launch
libraries: |
- name: MPU6050_tockn
- name: MS5611
- name: SD
# SPI and Wire seem to be available per default
enable-deltas-report: true
The "Run arduino/actions/libraries/compile-examples@master" step fail with:
Error during build: fork/exec /bin/arm-none-eabi-g++: no such file or directory
I assume arm-none-eabi-g++
(available in ubuntu repos) is needed for building the sketch for the stm32, which is an arm chip, but I couldn't figure out how to install this into the docker image, without forking the repo.
Is there a way?
Thanks in advance! ๐๐พ
Hi
Please add commnad for exclude sketch in examples
Sometimes it is necessary to not just use the latest version of a Arduino core in a CI build but to specify a specific version.
In case of the ESP8266 Arduino core with version 2.5.0 this could look like this ...
'"esp8266:esp8266:huzzah" "https://arduino.esp8266.com/stable/package_esp8266com_index.json" "2.5.0"'
I'm trying to use your Taskfile action in one of my repos.
The Taskfile installation action succeeds but but I got this error when trying to invoke a task defined in Taskfile.yml
:
##[debug]Evaluating condition for step: 'Build'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Build
##[debug]Loading inputs
##[debug]Loading env
Run task build
##[debug]/bin/bash -e /home/runner/work/_temp/64677591-7311-4720-bc1f-1d8822b873af.sh
task: No Taskfile found on "Taskfile.yml". Use "task --init" to create a new one
##[error]Process completed with exit code 1.
##[debug]Finishing: Build
Am I missing something obvious here? Thanks!
I was using this action, but it does not support the repo-token
, which is required.
I'm using this action like this:
- name: Install Taskfile
uses: arduino/actions/setup-taskfile@master
with:
version: '3.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
and I'm getting this warnings:
Warning: Unexpected input(s) 'repo-token', valid inputs are ['version']
Warning: The
add-path command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Am I missing something?
Run arduino-cli core update-index
Error initializing package manager: cannot initialize package manager: loading hardware packages: loading hardware from C:\Users\runneradmin\AppData\Local\Arduino15\packages: C:\Users\runneradmin\AppData\Local\Arduino15\packages is not a directory
Error initializing package manager: cannot initialize package manager: loading hardware packages: loading hardware from C:\Users\runneradmin\AppData\Local\Arduino15\packages: C:\Users\runneradmin\AppData\Local\Arduino15\packages is not a directory
##[error]Process completed with exit code 1.
This might be interesting:
https://github.blog/2020-06-22-promote-consistency-across-your-organization-with-workflow-templates/
Since we often bundle external resources with our libraries it doesn't make sense to check those files for misspelled words if they are being maintained upstream. Therefore the spell-check
should be extended to allow the specification of directories which need to be excluded from the spell verification.
@per1234 - I've just added this issue here so in order to keep track of this feature (since its easy to loose track of tasks just mentioned on slack).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.