2019-08-27 09:43:33 +02:00
2019-08-24 17:19:28 +02:00
2019-08-26 15:06:41 +02:00
2019-08-23 17:30:46 +02:00
2019-08-24 17:19:28 +02:00
2019-08-27 09:43:33 +02:00
2019-08-26 15:02:37 +02:00
2019-08-24 16:52:00 +02:00
2019-08-24 16:57:53 +02:00
2019-08-23 17:30:46 +02:00
2019-08-23 17:30:46 +02:00
2019-08-27 09:43:33 +02:00
2019-08-27 09:43:33 +02:00
2019-08-26 15:40:20 +02:00
2019-08-23 17:30:46 +02:00

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

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:

  1. npm install to add all the dependencies, included development.
  2. npm run test to see everything works as expected.
  3. npm build to build the Action under the ./lib folder.
  4. rm -rf node_modules to remove all the dependencies.
  5. npm install --production to add back only the runtime dependencies.
  6. git add lib node_modules to check in the code that matters.
  7. open a PR and request a review.
Description
GitHub Actions action to make Task available for use in your workflow.
Readme GPL-3.0 6.1 MiB
Languages
TypeScript 97.9%
JavaScript 2.1%