A composite action for publishing Pulumi packages
This Action is currently in preview and meant for internal use. Any functionality can and likely will change.
This Action automates setup and publication to the package registries of Python and NodeJS.
Set the following steps and parameters in your workflow:
steps:
- name: Publish Python SDK
uses: LemontechSA/[email protected]
with:
sdk: python
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
codeartifact_repository: ${{ vars.CODEARTIFACT_REPOSITORY }}
codeartifact_domain: ${{ vars.CODEARTIFACT_DOMAIN }}
codeartifact_domain_owner: ${{ vars.CODEARTIFACT_DOMAIN_OWNER }}
codeartifact_region: ${{ vars.CODEARTIFACT_REGION }}
Optionally, you may specify language SDKs individually or in a comma separated list.
Valid inputs to with.sdk
are:
all
- Equivalent to specifying all supported registries:python,nodejs
python
- Publish to PyPInodejs
- Publish to npm!${LANG}
- To disable any of the above languages.
Add this action to your workflow as a step to publish to Python and NPM registries:
steps:
- name: Publish all SDKs
uses: LemontechSA/[email protected]
steps:
- uses: LemontechSA/[email protected]
with:
sdk: nodejs