From 89a1a7b690f3c61968d705008f6b35df9417d7d2 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Fri, 7 Jun 2024 21:12:41 -0400 Subject: [PATCH] start using my own dzil test action --- .github/workflows/multiperl-test.yml | 33 ++-------------------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/.github/workflows/multiperl-test.yml b/.github/workflows/multiperl-test.yml index 91be0125b..40e535900 100644 --- a/.github/workflows/multiperl-test.yml +++ b/.github/workflows/multiperl-test.yml @@ -16,37 +16,8 @@ jobs: strategy: fail-fast: false steps: - - name: Check out repo - uses: actions/checkout@v4 - - name: Install cpm - run: | - curl https://raw.githubusercontent.com/skaji/cpm/main/cpm > /tmp/cpm - chmod u+x /tmp/cpm - - name: Install Dist::Zilla - run: sudo apt-get install -y libdist-zilla-perl libdist-zilla-plugin-git-perl libpod-weaver-perl - - name: Install authordeps - run: | - dzil authordeps --missing > /tmp/deps-phase-1.txt - echo "---BEGIN AUTHORDEPS---" - cat /tmp/deps-phase-1.txt - echo "---END AUTHORDEPS---" - sudo /tmp/cpm install -g - < /tmp/deps-phase-1.txt - - name: Install missing prereqs - run: | - dzil listdeps --author --missing > /tmp/deps-phase-2.txt - echo "---BEGIN PREREQS---" - cat /tmp/deps-phase-2.txt - echo "---END PREREQS---" - sudo /tmp/cpm install -g - < /tmp/deps-phase-2.txt - - name: Build tarball - run: | - dzil build --in Dist-To-Test - tar zcvf Dist-To-Test.tar.gz Dist-To-Test - - name: Upload tarball - uses: actions/upload-artifact@v4 - with: - name: Dist-To-Test.tar.gz - path: Dist-To-Test.tar.gz + - name: Build archive + uses: rjbs/dzil-test multiperl-test: needs: build-tarball