Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
name: A workflow for my Hello World file
on: push
on:
pull_request:
types: [ opened, synchronize, reopened ]
branches:
- main
jobs:
build:
name: Hello world action
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '2.x', '3.x' ]
name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@v1
- uses: ./action-a
- name: Setup python
uses: actions/setup-python@v2
with:
MY_NAME: "Mona"
python-version: ${{ matrix.python-version }}
architecture: x64
- name: 'execute test script'
run: python --version
# - uses: ./action-a
# with:
# MY_NAME: "Mona"
3 changes: 3 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env python

print("Hello World!")