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:
description: 'Run debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: 'false'
default: false
# push:
# branches:
# - master
@@ -38,7 +38,7 @@ jobs:
uses: mxschmitt/action-tmate@v3
with:
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
run: |
sudo -u netdisco /home/netdisco/bin/localenv perl ./Build.PL