Skip to content

py

py #2

Workflow file for this run

name: py
on:
workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository content
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.9 #install the python needed
- name: install python dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: execute py script # run file
run: |
python .github/workflows/my_file.py