Skip to content

Commit

Permalink
Add tmate debug
Browse files Browse the repository at this point in the history
  • Loading branch information
danlooo committed Dec 20, 2023
1 parent c5860ad commit f868642
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
- main
tags: ["*"]
pull_request:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
required: false
default: false
env:
OPENEO_HOST: ${{ vars.OPENEO_HOST }}
OPENEO_VERSION: ${{ vars.OPENEO_VERSION }}
Expand Down Expand Up @@ -56,6 +63,9 @@ jobs:
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- uses: julia-actions/julia-buildpkg@v1
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f868642

Please sign in to comment.