Skip to content

imesense/gha-echo-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

174 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echo Action

Language License Release Open in Dev Containers Build action Lint action Analyze action Run action

Simple action for printing input to output.

Requirements

For building:

  • Node.js 20.18

For development:

  • Visual Studio Code

Building

  • Get dependencies:

    npm clean-install
  • Build action by console commands:

    npm run pack

Testing

  • Get dependencies:

    npm clean-install
  • Launch all tests:

    npm run test
  • Configure .env file.

    See .env example in the root folder.

  • Run action locally:

    npm start

Installation

  • Add step in workflow file:

    - name: Echo action
      uses: imesense/gha-echo-action@<version>
      with:
          input-string: 'Input'

    where <version> is a tag or a branch of the repository.

Inputs

input-string

  • Required
  • Input string
  • Default "input"

Outputs

output-string

  • Output string

License

Contents of this repository licensed under terms of the MIT license unless otherwise specified. See this file for details.

About

Simple action for printing input to output

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •