Skip to content

Update hello.yml

Update hello.yml #17

Workflow file for this run

name: Hello World Action
#on: [push]
on:
push: # Этот триггер остается, запускается на push
workflow_dispatch: # Добавляем поддержку ручного запуска через API
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Upgrade pip and install requests
run: |
python -m pip install --upgrade pip
python -m pip install requests
- name: Run hello.py
#run: python hello.py
run: python start_main.py