From 8a955127f53c342e75adeadc34e07e64f3f8146f Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 22 Aug 2021 14:19:20 +0100 Subject: [PATCH] github action: try bash instaed of sh --- .github/workflows/test_and_publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index 61b3b1cb..3a83e55e 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -89,9 +89,7 @@ jobs: sudo -u netdisco /home/netdisco/bin/localenv ./Build dist - name: Check CPAN Release - run: | - RELEASENAME=(App-Netdisco-*.tar.gz) - sudo -u netdisco /home/netdisco/bin/localenv ! curl -LI --fail https://cpan.metacpan.org/authors/id/O/OL/OLIVER/${RELEASENAME} + run: bash -c 'RELEASENAME=(App-Netdisco-*.tar.gz) && ! curl -LI --fail https://cpan.metacpan.org/authors/id/O/OL/OLIVER/${RELEASENAME}' - name: Upload to CPAN id: upload_to_cpan