mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Moved GitHub context logging to job
- this stops the entire context from being output in the env vars, so it cleans up the output at the top of each job
This commit is contained in:
parent
18afd39193
commit
566f2055d0
1 changed files with 5 additions and 1 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -12,7 +12,6 @@ on:
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 1
|
FORCE_COLOR: 1
|
||||||
HEAD_COMMIT: ${{ github.sha }}
|
HEAD_COMMIT: ${{ github.sha }}
|
||||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
|
||||||
CACHED_DEPENDENCY_PATHS: |
|
CACHED_DEPENDENCY_PATHS: |
|
||||||
${{ github.workspace }}/node_modules
|
${{ github.workspace }}/node_modules
|
||||||
${{ github.workspace }}/apps/*/node_modules
|
${{ github.workspace }}/apps/*/node_modules
|
||||||
|
@ -43,6 +42,11 @@ jobs:
|
||||||
ref: ${{ env.HEAD_COMMIT }}
|
ref: ${{ env.HEAD_COMMIT }}
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
- name: Output GitHub context
|
||||||
|
run: echo "$GITHUB_CONTEXT"
|
||||||
|
env:
|
||||||
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
|
|
||||||
- name: Get metadata (push)
|
- name: Get metadata (push)
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue