Skip to content

Commit

Permalink
more logging in publish
Browse files Browse the repository at this point in the history
  • Loading branch information
flcdrg committed Jul 4, 2020
1 parent 56a9254 commit 9d5e5ac
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,36 @@ name: Publish

on:
release:
types:
types: # https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#release
- released

jobs:
main:
runs-on: ubuntu-latest
runs-on: ubuntu-latest

steps:
- name: start
run: echo "Hello"
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"

0 comments on commit 9d5e5ac

Please sign in to comment.