Skip to content

Commit

Permalink
try non-distzilla approach
Browse files Browse the repository at this point in the history
  • Loading branch information
geofffranks committed Aug 29, 2024
1 parent fbcc58c commit 52cee84
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/publish-cpan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ jobs:
- name: update-version
run: |
sed -i "s/^\\\$VERSION = '.*';/\\\$VERSION = '${GITHUB_REF_NAME}';/" lib/Test/MockModule.pm
- uses: cucumber/action-publish-cpan@v1.0.0
- name: Configure
run: perl Build.PL
- name: Test
run: ./Build test
- name: Build
run: ./Build
- name: Deliver locally
run: ./Build dist
- name: Upload to CPAN
id: upload
uses: thibaultduponchelle/action-upload-to-cpan@master
with:
cpan-user: ${{ secrets.CPAN_USER }}
cpan-password: ${{ secrets.CPAN_PASSWORD }}
working-directory: "."
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}

0 comments on commit 52cee84

Please sign in to comment.