Update test.yml

This commit is contained in:
Oliver Gorwits
2021-08-16 16:57:46 +01:00
committed by GitHub
parent fe0d449445
commit 2be742cd9c

View File

@@ -16,28 +16,15 @@ jobs:
image: 'netdisco/netdisco:latest-do'
options: '--user root --entrypoint /bin/ash'
steps:
# - name: Check out latest code
# env:
# GITHUB_WORKSPACE: '/home/netdisco/git'
# uses: actions/checkout@master
- name: Get the Tag
id: get_tag
run: echo ::set-output name=TAGVALUE::${GITHUB_REF#refs/tags/}
# - uses: shogo82148/actions-setup-perl@v1.12.2
# with:
# perl-version: 'latest'
# Enable tmate debugging of manually-triggered workflows if the input option was provided
- run: echo $PATH
- run: id
- run: pwd
- run: apk add openssh xz tmux bash curl sudo
# - run: mkdir -p /github/home/.upterm
- run: echo 'if [ "$1" == "update" ]; then exec apk update; else exec apk add openssh xz tmux bash curl sudo; fi' > /usr/local/bin/apt-get && chmod +x /usr/local/bin/apt-get
- name: Install fake apt-get
run: echo 'if [ "$1" == "update" ]; then exec apk update; else exec apk add openssh xz tmux bash curl sudo; fi' > /usr/local/bin/apt-get && chmod +x /usr/local/bin/apt-get
- name: Check out latest code
uses: actions/checkout@v1
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
# uses: lhotari/action-upterm@v1
with:
sudo: true
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}.
# - run: 'cpanm --installdeps .'
# - run: 'prove -vl xt/*.t'