Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsp1412 authored Apr 24, 2021
1 parent 5b20d25 commit 97d6f0b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,19 @@ on:
repository_dispatch:
types: [helloworld,hello]
jobs:
run:
build:
runs-on: ubuntu-latest

steps:
- name: Hello world
- name: Checkout
uses: actions/checkout@v2

- name: 'Set up Python'
uses: actions/setup-python@v1
with:
python-version: 3.7

- name: 'Working'
if: github.event.action == 'helloworld'
run: |
python ../test.py
python ./test.py

0 comments on commit 97d6f0b

Please sign in to comment.