diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2677a96..8d72668 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -120,7 +120,7 @@ jobs: # but that's not a big deal. - name: Install dependencies run: | - cpanm --notest --installdeps --with-suggests --with-recommends . + cpanm --notest --installdeps --with-suggests --with-recommends . ${{ vars.EXTRA_CPAN_MODULES }} - name: Show cpanm failures if: ${{ failure() }} run: | diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5cc9ca0..e91f9e7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -83,7 +83,7 @@ jobs: # but that's not a big deal. - name: Install dependencies run: | - cpan -M https://www.cpan.org -T . + cpan -M https://www.cpan.org -T . ${{ vars.EXTRA_CPAN_MODULES }} - name: Run tests run: | perl Makefile.PL diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 29b7732..e430e10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ # brian's standard GitHub Actions release config for Perl 5 modules -# version 20240825.001 +# version 20241118.001 # https://github.com/briandfoy/github_workflows # https://github.com/features/actions # This file is licensed under the Artistic License 2.0 @@ -80,7 +80,7 @@ jobs: # but that's not a big deal. - name: Install dependencies run: | - cpanm --notest --installdeps --with-suggests --with-recommends . + cpanm --notest --installdeps --with-suggests --with-recommends . ${{ vars.EXTRA_CPAN_MODULES }} # This makes the distribution and tests it, but assumes by the time we # got here, everything else was already tested. - name: Create distro @@ -94,7 +94,7 @@ jobs: id: version - name: Changes extract run: | - perl -00 -lne 'next unless /\A\d+\.\d+(_\d+)?/; print s/^\h+([*-])/$1/grm; last' Changes > Changes-latest + perl -00 -lne 'next unless /\A\d+\.\d+(_\d+)?/; s/^\h+([*-])/$1/gm; s/^-/ -/gm; print; last' Changes > Changes-latest cat Changes-latest id: extract # https://cli.github.com/manual/gh_attestation_verify @@ -106,16 +106,16 @@ jobs: id: attestation uses: actions/attest-build-provenance@v1 with: - subject-path: ${{ env.ASSET_NAME }} + subject-path: ${{ env.ASSET_NAME }} - name: upload uses: softprops/action-gh-release@v1 with: - body_path: Changes-latest - draft: false - prerelease: false - name: ${{ steps.version.outputs.name }} - files: | - ${{ env.ASSET_NAME }} - ${{ steps.attestation.outputs.bundle-path }} - ${{ vars.EXTRA_RELEASE_PATHS }} - token: ${{ secrets.RELEASE_ACTION_TOKEN }} + body_path: Changes-latest + draft: false + prerelease: false + name: ${{ steps.version.outputs.name }} + files: | + ${{ env.ASSET_NAME }} + ${{ steps.attestation.outputs.bundle-path }} + ${{ vars.EXTRA_RELEASE_PATHS }} + token: ${{ secrets.RELEASE_ACTION_TOKEN }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 900c29c..dc326d1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -76,7 +76,7 @@ jobs: - name: Install dependencies run: | cpan -M https://www.cpan.org -T . - cpan -M https://www.cpan.org -T Test::Manifest + cpan -M https://www.cpan.org -T Test::Manifest ${{ vars.EXTRA_CPAN_MODULES }} - name: Run tests run: | perl Makefile.PL