Coder Social home page Coder Social logo

wait-on-action's Introduction

ifaxity/wait-on-action

A GitHub Actions wrapper for the wait-on

Inputs

resource

Required Resources types are defined by their prefix, if no prefix is present, the resource is assumed to be of type 'file'

resource prefixes are:

config

js or json config file, useful for http(s) options

delay

Initial delay before checking for resources in ms, default 0

httpTimeout

Maximum time in ms to wait for an HTTP HEAD/GET request, default 0 which results in using the OS default

interval

Interval to poll resources in ms, default 250ms

log

Log resources begin waited on and when complete or errored

reverse

Reverse operation, wait for resources to NOT be available

simultaneous

Simultaneous / Concurrent connections to a resource, default Infinity Setting this to 1 would delay new requests until previous one has completed. Used to limit the number of connections attempted to a resource at a time

timeout

Maximum time in ms to wait before exiting with failure (1) code, default Infinity

tcpTimeout

Maximum time in ms for tcp connect, default 300ms

verbose

Enable debug output to stdout

window

Stability window, the time in ms defining the window of time that resource needs to have not changed (file size or availability) before signalling success, default 750ms. If less than interval, it will be reset to the value of interval. This is only used for files, other resources are considered available on first detection.

Example usage

uses: ifaxity/wait-on-action
with:
  resource: http://localhost:8080

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.