From 707f868de3e806829e9e04f89aef034736d9f535 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 18 Aug 2021 19:57:02 +0100 Subject: [PATCH] fix secrets import --- .github/workflows/runtests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index 68cba79a..b238c4d4 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -74,9 +74,12 @@ jobs: - name: Upload dist to CPAN id: upload_to_cpan if: (! github.event.inputs.debug_enabled) && startsWith(github.ref, 'refs/tags/') && (steps.build_and_run_tests.outcome == 'success') + env: + PAUSE_USERNAME: ${{ secrets.PAUSE_USERNAME }} + PAUSE_PASSWORD: ${{ secrets.PAUSE_PASSWORD }} run: | sudo -u netdisco /home/netdisco/bin/localenv ./Build dist - sudo -u netdisco /home/netdisco/bin/localenv cpan-upload --user=${{ secrets.PAUSE_USERNAME }} --password=${{ secrets.PAUSE_PASSWORD }} App-Netdisco-*.tar.gz + sudo -u netdisco /home/netdisco/bin/localenv cpan-upload --user=$PAUSE_USERNAME --password=$PAUSE_PASSWORD App-Netdisco-*.tar.gz continue-on-error: true - name: IRC upload failure notification