Update test.yml

This commit is contained in:
Oliver Gorwits
2021-08-16 21:21:53 +01:00
committed by GitHub
parent b57acf88cb
commit 17e1e604bf

View File

@@ -5,7 +5,7 @@ on:
debug_enabled: debug_enabled:
description: 'Run debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' description: 'Run debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false required: false
default: 'false' default: false
# push: # push:
# branches: # branches:
# - master # - master
@@ -38,7 +38,7 @@ jobs:
uses: mxschmitt/action-tmate@v3 uses: mxschmitt/action-tmate@v3
with: with:
sudo: true sudo: true
if: ${{ (github.event_name == 'workflow_dispatch') && (github.event.inputs.debug_enabled == 'true') }}. if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
- name: Run Tests - name: Run Tests
run: | run: |
sudo -u netdisco /home/netdisco/bin/localenv perl ./Build.PL sudo -u netdisco /home/netdisco/bin/localenv perl ./Build.PL