This is an Actionsflow example trigger.
npm i @actionsflow/trigger-exampleon:
example:
param1: value1param1, optional, describe your param
You can use General Config for Actionsflow Trigger for more customization.
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: value1jobs:
print:
name: Printruns-on: ubuntu-lateststeps:
- name: Print Outputsenv:
title: ${{ on.example.outputs.title }}id: ${{ on.example.outputs.id }}run: | echo "title: $title" echo "id: $id"