Skip to content

More dep installations prior to publishing #8

More dep installations prior to publishing

More dep installations prior to publishing #8

Workflow file for this run

name: Publish to CPAN
on:
release:
types: [created]
jobs:
publish-ui:
name: Publish to CPAN
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v2
- name: update-version
run: |
sed -i "s/^\\\$VERSION = '.*';/\\\$VERSION = '${GITHUB_REF_NAME}';/" lib/Test/MockModule.pm
- name: install deps
run: cpan install Module::Build
- name: Configure
run: perl Build.PL
- name: install more deps
run ./Build installdeps

Check failure on line 22 in .github/workflows/publish-cpan.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-cpan.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- 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:
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}