github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Add customization options for Serverless action

Open ryanlawson opened this issue 1 year ago • 0 comments

Resolves #21 Resolves #33 Resolves #69 Resolves #77 Resolves #84

Allows a user to specify a serverless-version or defaults to latest.

Allows a user to specify a working-directory or defaults to ..

Throws an error if no args are passed (with an error message).

Includes an aws-credentials flag under with: to automatically add --use-local-credentials to the end of args.

Allows a user to pass a list of plugins in install-packagages to be installed before running args.

Updates action.yml and README.md.

Note: Because it calls /entrypoint.sh instead of serverless directly, specifying the /bin/sh entrypoint will include arguments passed to /entrypoint.sh. Hence I recommend bumping to v4 as this could be considered a breaking change.

Testing: https://github.com/ryanlawson/actions-test/actions/runs/9142765035/job/25138829111

ryanlawson avatar May 17 '24 23:05 ryanlawson