fixup! Check for differences in github context

This commit is contained in:
Curtis Vogt
2025-01-23 15:35:19 -06:00
parent d9466e9938
commit 4818bbd194

View File

@@ -4,13 +4,12 @@ on:
workflow_call: workflow_call:
inputs: {} inputs: {}
outputs: outputs:
github-json: ${{ jobs.duplicate.outputs.github-json }} github-json:
value: ${{ toJSON(github) }}
jobs: jobs:
duplicate: duplicate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs:
github-json: ${{ steps.export.outputs.github-json }}
steps: steps:
- run: jq <"$GITHUB_EVENT_PATH" - run: jq <"$GITHUB_EVENT_PATH"
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -19,10 +18,3 @@ jobs:
version: "1" version: "1"
- name: Save cache - name: Save cache
uses: ./ uses: ./
- id: export
run: |
{
echo "github-json<<EOF"
echo "${{ toJSON(github) }}"
echo "EOF"
} | tee -a "$GITHUB_OUTPUT"