/actions-lib

A library for GitHub Actions

Primary LanguageShellApache License 2.0Apache-2.0

actions-lib

A library containing operations that can be useful when using GitHub Actions for Continuous Integration (CI).

Actions

Below is a summary of the actions in the library and a short description of what they do. Some of the actions can also be run locally by running an executable (e.g., action.sh) and passing in inputs as CLI arguments - such actions are marked with Local usage in the table below.

Action Description Local usage
check-runtime-dependencies Check if the runtime has the expected dependencies
configure-aws-credentials Configure temporary AWS credentials using the GitHub Actions OpenID Connect Provider
configure-github-deployment Create or update a GitHub deployment
configure-npm Creates an NPM configuration for authenticating to GitHub Packages and optionally the npmjs.com registry
generate-tag Generate unique tags for artifacts
parse-config Parse and validate a JSON configuration and expose the configuration as separate outputs
slack-notify Send notifications to Slack
trigger-deployment-pipeline Trigger Liflig CDK Pipelines in AWS
upload-cdk-source Create and upload an archive of the CDK source to use during deployment of a Liflig CDK Pipeline
upload-cloud-assembly Create and upload an archive of the CDK source to use during deployment of a Liflig CDK Pipeline
upload-s3-artifact Upload a file or directory to S3