chore: explore GitHub Actions #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |