Skip to content

espcd/espcd-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

espcd-action

This github action compiles an arduino sketch for the given fqbn and uploads it to the espcd backend.

Inputs

url

Required The backend url without path (without tailing slash). Default "https://api.espcd.duckdns.org".

api_key

Required An api key for access to the backend.

fqbn

Required The fully qualified board name of the device, e.g.: esp8266:esp8266:generic.

sketch

Required Path to the arduino sketch that should be compiled.

product

The id of the product for which the firmware should be set for the given fqbn.

title

The title of the firmware. Default "".

description

The description of the firmware. Default "".

compression

Specifies if and which compression should be used to compress the firmware. Options: none, gzip. The esp32 board currently does not support compression. Default "none".

Example usage

steps:
  - uses: actions/checkout@v2
  - name: Setup arduino cli
    uses: arduino/setup-arduino-cli@v1
  - uses: espcd/espcd-action@master
    with:
      api_key: '28323ded-8b33-4d07-aa55-e893687f0175'
      fqbn: 'esp8266:esp8266:generic'
      sketch: ./my-sketch.ino

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages