코딩과로그
[TIL] Github actions 내 Context 출력하기 본문
📌 Github actions 내 Context 출력하기
Github Actions 내의 context를 아래와 같이 작성하면 github context를 출력할 수 있다.
github actions workflow를 아래와 같이 작성한다.
코드 링크
name: Output information
on: workflow_dispatch
jobs:
info:
runs-on: ubuntu-latest
steps:
- name: Output GitHub context
run: echo "${{ toJSON(github) }}"
출력 결과
'기타1 > 깃헙 액션' 카테고리의 다른 글
[TIL] 깃허브 캐시값 얻어오기 링크 (0) | 2023.05.01 |
---|---|
[GItHub Actions] Artifact 얻기 (0) | 2023.05.01 |
[기록용] gh-action Artifact vs outputs, cache 무슨 차이가 있나? (0) | 2023.04.09 |
[기록용] GitHub Action 기본 구성 요소 (WorkFlow, Jobs, Steps) (0) | 2023.04.09 |