name: Release Perl/CPAN

on:
  push:
    branches: [release/*]

jobs:
  create-perl-release:
    name: Publish to CPAN
    runs-on: ubuntu-latest
    environment: Release
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v3
      - uses: cucumber/action-publish-cpan@v1.0.0
        with:
          cpan-user: ${{ secrets.CPAN_USER }}
          cpan-password: ${{ secrets.CPAN_PASSWORD }}
          working-directory: 'perl'

Revert "Do not publish Perl"
Revert "Do not publish Perl"

This reverts commit ecc773381cf1fe423a888da4e9a4dacd82076fa4.
