Skip to content

Commit 4f05da2

Browse files
authored
Update main.yml
1 parent 08e47b9 commit 4f05da2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ jobs:
1919
steps:
2020
- name: Print event context
2121
run: |
22-
echo "Event action: ${GITHUB_EVENT_ACTION}"
23-
echo "Event ref type: ${GITHUB_EVENT_REF_TYPE}"
24-
echo "Event branch: ${GITHUB_EVENT_BRANCH}"
22+
echo "Event action: ${{ github.event_name }}"
23+
echo "Event type: ${{ github.event.action }}"
2524
- name: Checkout Repository
2625
uses: actions/checkout@v2
2726

0 commit comments

Comments
 (0)