From 7007a0a0a7f5258acdb2783948e12937281453e8 Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Mon, 28 Oct 2024 08:22:27 +0800 Subject: [PATCH] ci: add a debug env step that always runs /ref https://github.com/bevry/dorothy/actions/runs/11544835660 /ref https://github.com/bevry/dorothy/actions/runs/11545070866/job/32131472674 --- .github/workflows/dorothy-workflow.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/dorothy-workflow.yml b/.github/workflows/dorothy-workflow.yml index 2d45e20ff..b0dd321a1 100644 --- a/.github/workflows/dorothy-workflow.yml +++ b/.github/workflows/dorothy-workflow.yml @@ -8,6 +8,17 @@ concurrency: group: ${{ github.ref }} cancel-in-progress: true jobs: + debug-env: + runs-on: ubuntu-latest + steps: + - name: 'Debug Environment' + shell: bash -leo pipefail {0} + run: | + # output github context + printf '%s\n' 'github:' ${{ toJson(github) }} + # output env + printf '%s\n' 'env:' + env login-shells-and-linting: if: github.event_name == 'push' || ( github.event_name == 'pull_request' && (toJSON(github.event.pull_request.requested_reviewers) != '[]' || toJSON(github.event.pull_request.requested_teams) != '[]' ) ) runs-on: ubuntu-latest