Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jun 2, 2023
1 parent adf71e8 commit 70471e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Expand Up @@ -86,7 +86,7 @@ jobs:
# but that's not a big deal.
- name: Install dependencies
run: |
cpanm --notest --installdeps .
cpanm --notest --installdeps --with-suggests --with-recommends .
- name: Run tests
run: |
perl Makefile.PL
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
@@ -1,5 +1,5 @@
# brian's standard GitHub Actions release config for Perl 5 modules
# version 20220827.002
# version 20230528.004
# https://github.com/briandfoy/github_workflows
# https://github.com/features/actions
# This file is licensed under the Artistic License 2.0
Expand All @@ -20,6 +20,7 @@ on:

jobs:
perl:
environment: release
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -58,7 +59,8 @@ jobs:
make disttest
make dist 2>/dev/null | grep Created | awk '{ print "ASSET_NAME=" $2 }' >> $GITHUB_ENV
- name: version
run: echo "::set-output name=version::$(perl -le 'print $ARGV[0] =~ m/(.*?).tar.gz/' *.tar.gz)"
run: |
perl -le '($v) = $ARGV[0] =~ m/(.*?).tar.gz/; print qq(version=$v)' *.tar.gz >> $GITHUB_OUTPUT
id: version
- name: Changes extract
run: |
Expand All @@ -67,7 +69,6 @@ jobs:
id: extract
- name: upload
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: Changes-latest
draft: false
Expand Down

0 comments on commit 70471e0

Please sign in to comment.