Skip to content

Add GitHub action to automate release to CPAN - #26

Open
mavit wants to merge 1 commit into
LMS-Community:masterfrom
mavit:release-action
Open

mavit wants to merge 1 commit into
LMS-Community:masterfrom
mavit:release-action

Conversation

@mavit

@mavit mavit commented Nov 12, 2026

Copy link
Copy Markdown

I have not tested the final step, that actually does the upload to CPAN.

For this to work, someone will need to add their PAUSE credentials as repository secrets at https://github.com/LMS-Community/Audio-Scan/settings/secrets/actions/. Two secrets are required: pause_username and pause_password.

Fixes #24.

@paulgevers

Copy link
Copy Markdown

I'm not a member of this project, so I can't do it.

Comment thread .github/workflows/release.yaml Outdated
strategy:
matrix:
perl-version:
- '5.42'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need updating every time Ubuntu updates perl? (Debian just transitioned to perl 5.44 this week)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. I wrote it this way for consistency with the existing build.yaml, but all it actually does is provide a variable that gets expanded in the next paragraph:

    container:
      image: perldocker/perl-tester:${{ matrix.perl-version }}

So, then, this is the version of the container image we're using to run the steps (which happens to coincide with the Perl version because the container we've chosen has been built by Perl people for running a particular version of Perl).

But, now that you mention it, latest probably makes more sense. I'll update it to that.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually was wondering too. But as @mavit said this is only the perl version used to build the package. As this at this point doesn't build a binary, it doesn't really matter, as the outcome will be text only still. At least that's my understanding.

For this to work, someone will need to add their PAUSE credentials as repository secrets at https://github.com/mavit/Audio-Scan/settings/secrets/actions/.  Two secrets are required: `pause_username` and `pause_password`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CPAN release lagging

3 participants