104baaad727033712e0c5a86eadaabc6649ce047
In order to be recognized by GitHub's automatic license detection system, the license file must contain only the exact license text, which can be sourced from choosealicense.com. Please do not modify this file in any way.
setup-taskfile
This action makes the task binary available to Workflows.
Usage
To get the latest stable version of Task just add this step:
- name: Install Taskfile
uses: Arduino/actions/setup-taskfile@master
If you want to pin a major or minor version you can use the .x wildcard:
- name: Install Taskfile
uses: Arduino/actions/setup-taskfile@master
with:
version: '2.x'
To pin the exact version:
- name: Install Taskfile
uses: Arduino/actions/setup-taskfile@master
with:
version: '2.6.1'
Development
To work on the codebase you have to install all the dependencies:
# npm install
To run the tests:
# npm run test
Enable verbose logging for a pipeline
Additional log events with the prefix ::debug:: can be enabled by setting the secret ACTIONS_STEP_DEBUG to true.
See step-debug-logs for reference.
Release
We check in the node_modules to provide runtime dependencies to the system
using the Action, so be careful not to git add all the development dependencies
you might have under your local node_modules. To release a new version of the
Action the workflow should be the following:
npm installto add all the dependencies, included development.npm run testto see everything works as expected.npm run buildto build the Action under the./libfolder.rm -rf node_modulesto remove all the dependencies.npm install --productionto add back only the runtime dependencies.git add lib node_modulesto check in the code that matters.- open a PR and request a review.
Languages
TypeScript
97.9%
JavaScript
2.1%