Skip to content

Commit

Permalink
testing with tmate
Browse files Browse the repository at this point in the history
  • Loading branch information
ollyg committed Oct 6, 2023
1 parent f2ffbf0 commit 11d8099
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/update_maps.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Rebuild OID Maps
on:
workflow_dispatch:
# inputs:
# debug_enabled:
# description: 'With build debug'
# required: false
# default: false
inputs:
debug_enabled:
type: boolean
description: 'With build debug'
required: false
default: false
# push:
# branches:
# - master
Expand All @@ -28,7 +29,7 @@ jobs:
cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
export MIBHOME=`pwd`
EXTRAS/scripts/genxlate
EXTRAS/scripts/mkoidmap
#   EXTRAS/scripts/mkoidmap

- name: Commit files
run: |
Expand All @@ -43,9 +44,10 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
# if: always() && github.event.inputs.debug_enabled
if: always() && ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
# with:
# sudo: true

0 comments on commit 11d8099

Please sign in to comment.