这里是程序员的开源论坛,不是你发表政治观念的地方 This is an open source forum for programmers, not a place for you to express your political opinions https://cirosantilli.com/china-dictatorship/meant-to-be-used #81
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 }}." |