-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 891 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
workflow_dispatch:
pull_request:
jobs:
test:
runs-on: stg-local
steps:
- run: echo $PWD
- name: Breaking down `github` context
run: |
echo actor=${{ github.actor }}
echo action_ref=${{ github.action_ref }}
echo ref=${{ github.ref }}
echo ref_name=${{ github.ref_name }}
echo event_name=${{ github.event_name }}
echo event_path=${{ github.event_path }}
echo job=${{ github.job }}
echo PR=${{ github.event.pull_request.number }}
echo PR_root=${{ github.event.number }}
echo -e "\nInside event path!"
cat ${{ github.event_path }}
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
- run: sleep 20
shell: bash
- run: printenv
- run: ls -alh
- run: pwd