Giter Site home page Giter Site logo

actionsflow-action's Introduction

Actionsflow Action

Actionsflow action for Github. With actionsflow/actionsflow-action@v1, you can speed up your Actionsflow workflow build. We will automatically select the best build strategy, using local build or action build, if you use a third-party trigger, then the default will use local build, that is, install npm dependencies, and use local actionsflow to build, if You only use the official triggers, then we will only use the action to build, no need to download anything.

All build strategies will use caching, so even if you use third-party triggers, we will cache node_modules to speed up the build.

Of course, you can specify the build method, such as using only local build, or only using action build.

You can also specify the commands and parameters of the build through args

Inputs

inputs:
  using:
    descript: "actionsflow build runner using, the default value is `auto`, you can also use `local`, `action`"
    required: false
    default: "auto"
  args:
    description: "actionsflow CLI command, the default value is `build`, you can specify it like `build --verbose`"
    required: false
    default: "build"
  json-secrets:
    description: secrets context in json format
    required: false
    default: ""
  json-github:
    description: github context in json format
    required: false
    default: ""

Options

using

Actionsflow build runner using, the default value is auto, you can also use local, action

args

Actionsflow CLI command, the default value is build, you can specify it like build --verbose

Learn more about args, please see here

json-secrets

Secrets context in json format, you should always use ${{ toJSON(secrets) }}

json-github

github context in json format, you should always use ${{ toJSON(github) }}

Outputs

outputs:
  success:
    description: "If the build status is a success. The value can be 'true', or 'false', if the build failed, the action outcome will be set failed"

Example usage

uses: actionsflow/actionsflow-action@v1
with:
  args: build
  json-secrets: ${{ toJSON(secrets) }}
  json-github: ${{ toJSON(github) }}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.