Update test.yml
This commit is contained in:
21
.github/workflows/test.yml
vendored
21
.github/workflows/test.yml
vendored
@@ -16,28 +16,15 @@ jobs:
|
|||||||
image: 'netdisco/netdisco:latest-do'
|
image: 'netdisco/netdisco:latest-do'
|
||||||
options: '--user root --entrypoint /bin/ash'
|
options: '--user root --entrypoint /bin/ash'
|
||||||
steps:
|
steps:
|
||||||
# - name: Check out latest code
|
|
||||||
# env:
|
|
||||||
# GITHUB_WORKSPACE: '/home/netdisco/git'
|
|
||||||
# uses: actions/checkout@master
|
|
||||||
- name: Get the Tag
|
- name: Get the Tag
|
||||||
id: get_tag
|
id: get_tag
|
||||||
run: echo ::set-output name=TAGVALUE::${GITHUB_REF#refs/tags/}
|
run: echo ::set-output name=TAGVALUE::${GITHUB_REF#refs/tags/}
|
||||||
# - uses: shogo82148/actions-setup-perl@v1.12.2
|
- name: Install fake apt-get
|
||||||
# with:
|
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
|
||||||
# perl-version: 'latest'
|
- name: Check out latest code
|
||||||
# Enable tmate debugging of manually-triggered workflows if the input option was provided
|
uses: actions/checkout@v1
|
||||||
- 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: Setup tmate session
|
- name: Setup tmate session
|
||||||
uses: mxschmitt/action-tmate@v3
|
uses: mxschmitt/action-tmate@v3
|
||||||
# uses: lhotari/action-upterm@v1
|
|
||||||
with:
|
with:
|
||||||
sudo: true
|
sudo: true
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}.
|
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}.
|
||||||
# - run: 'cpanm --installdeps .'
|
|
||||||
# - run: 'prove -vl xt/*.t'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user