2020 example : Add JiangSu protest afican immigrants #1285
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: Issue | |
on: | |
issues: | |
types: [opened] | |
issue_comment: | |
types: [created] | |
jobs: | |
Issue: | |
runs-on: ubuntu-20.04 | |
steps: | |
- run: echo "github.event_name ${{ github.event_name }}" | |
- run: echo "github.ref ${{ github.ref }}" | |
- run: echo "github.repository ${{ github.repository }}" | |
- run: echo "github.workspace ${{ github.workspace }}" | |
- run: echo "runner.os ${{ runner.os }}" | |
- run: pwd | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- run: npm install | |
- run: ls "${{ github.workspace }}" | |
- name: Main work | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
run: "${{ github.workspace }}/action.js" | |
- run: echo "job.status ${{ job.status }}." |