Neural Processing Mechanisms
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@actionsflow/trigger-example

0.0.3 • Public • Published

@actionsflow/trigger-example

This is an Actionsflow example trigger.

Install

npm i @actionsflow/trigger-example

Usage

on:
  example:
    param1: value1

Options

  • param1, optional, describe your param

You can use General Config for Actionsflow Trigger for more customization.

Outputs

This trigger's outputs will be the following object.

An outputs example:

{
  "id": "uniqueId",
  "title": "hello world title"
}

You can use the outputs like this:

on:
  example:
    param1: value1
jobs:
  print:
    name: Print
    runs-on: ubuntu-latest
    steps:
      name: Print Outputs
        env:
          title: ${{ on.example.outputs.title }}
          id: ${{ on.example.outputs.id }}
        run: |
          echo "title: $title"
          echo "id: $id"

Install

npm i @actionsflow/trigger-example

DownloadsWeekly Downloads

9

Version

0.0.3

License

MIT

Unpacked Size

7.6 kB

Total Files

14

Last publish

Collaborators

  • avatar