Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add customization options for Serverless action #90

Open
wants to merge 9 commits into
base: next
Choose a base branch
from

Conversation

ryanlawson
Copy link

@ryanlawson ryanlawson commented May 17, 2024

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 ryanlawson changed the title Allow a particular Serverless version to be set Allow a particular Serverless version or working directory May 18, 2024
@ryanlawson ryanlawson changed the base branch from master to next May 18, 2024 02:55
@ryanlawson ryanlawson force-pushed the master branch 6 times, most recently from 9e4d135 to 36f0d79 Compare May 18, 2024 05:23
@ryanlawson ryanlawson force-pushed the master branch 6 times, most recently from 38d0cf3 to 32bfd50 Compare May 18, 2024 08:37
@ryanlawson ryanlawson changed the title Allow a particular Serverless version or working directory Add customization options for Serverless action May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant