Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GitHub Action to setup Arduino CLI

License

NotificationsYou must be signed in to change notification settings

lenvm/setup-arduino-cli-fork

 
 

Repository files navigation

Actions Status

This action makes thearduino-cli tool available to Workflows.

Usage

To get the latest stable version ofarduino-cli just add this step:

-name:Install Arduino CLIuses:arduino/setup-arduino-cli@v1

If you want to pin a major or minor version you can use the.x wildcard:

-name:Install Arduino CLIuses:arduino/setup-arduino-cli@v1with:version:"0.x"

To pin the exact version:

-name:Install Arduino CLIuses:arduino/setup-arduino-cli@v1with:version:"0.5.0"

Examples

Here there is a good example on how to use the action.See also theArduino on GitHub Actions blogpost to learn more.

Development

To work on the codebase you have to install all the dependencies:

# npm install

To run tests set the environment variableGITHUB_TOKEN with a valid Personal Access Token and then:

# npm run test

See theofficial Github documentation to know more about Personal Access Tokens.

Release

  1. npm install to add all the dependencies, included development.
  2. npm run build to build the Action under the./lib folder.
  3. npm run test to see everything works as expected.
  4. npm run pack to package for distribution
  5. git add src dist to check in the code that matters.
  6. If the release will increment the major version, update the action refs in the examples in README.md(e.g.,uses: arduino/setup-arduino-cli@v1 ->uses: arduino/setup-arduino-cli@v2).
  7. open a PR and request a review.
  8. After PR is merged, create a release, following thevX.Y.Z tag name convention.
  9. After the release, rebase the release branch for that major version (e.g.,v1 branch for the v1.x.x tags) on thetag. If no branch exists for the release's major version, create one.

Security

If you think you found a vulnerability or other security-related bug in this project, please read oursecurity policy and report the bug to our Security Team 🛡️Thank you!

e-mail contact:security@arduino.cc

About

GitHub Action to setup Arduino CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript97.5%
  • JavaScript2.5%

[8]ページ先頭

©2009-2025 Movatter.jp