Skip to content

Commit

Permalink
GitHub Actions: upload tgz after build
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Jan 8, 2023
1 parent ab5a430 commit fb3e9db
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/dzil-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "dzil build & multitest"
on: push

jobs:
build-it:
build-tarball:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -15,8 +15,15 @@ jobs:
chmod u+x /tmp/cpanm
- name: Install Dist::Zilla
run: sudo apt-get install -y libdist-zilla-perl
- name: build tarball
- name: Build tarball
run: |
dzil authordeps --missing | /tmp/cpanm --notest -S
dzil listdeps --author --missing | /tmp/cpanm --notest -S
dzil build
mv Test-Deep-*.tar.gz Test-Deep.tar.gz
- name: Upload tarball
uses: actions/upload-artifact@v3
with:
name: Test-Deep.tar.gz
path: Test-Deep.tar.gz

0 comments on commit fb3e9db

Please sign in to comment.