https://github.com/cucumber/action-publish-cpan
GitHub Action to publish a Perl module to CPAN
https://github.com/cucumber/action-publish-cpan
polyglot-release
Last synced: about 1 year ago
JSON representation
GitHub Action to publish a Perl module to CPAN
- Host: GitHub
- URL: https://github.com/cucumber/action-publish-cpan
- Owner: cucumber
- License: mit
- Created: 2021-10-21T14:51:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T20:24:44.000Z (over 2 years ago)
- Last Synced: 2025-03-29T11:29:17.674Z (about 1 year ago)
- Topics: polyglot-release
- Language: Perl
- Homepage:
- Size: 62.5 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/cucumber/action-publish-cpan/actions/workflows/test.yaml)
# action-publish-cpan
Publishes a Perl module to https://cpan.org using `Dist::Zilla`
## Inputs
* `cpan-user`
* `cpan-password`
* `working-directory` (optional, default `.`)
## Example
```yaml
name: Publish to CPAN
on:
push:
branches:
- "release/*"
jobs:
publish-ui:
name: Publish to CPAN
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v2
- uses: cucumber/action-publish-cpan@v1.0.0
with:
cpan-user: ${{ secrets.CPAN_USER }}
cpan-password: ${{ secrets.CPAN_PASSWORD }}
working-directory: "perl"
```