Skip to content

Python

Python #469

name: Python
on:
schedule:
- cron: '0 6 * * 1-5'
pull_request:
types:
- closed
workflow_dispatch:
inputs:
logLevel:
description: 'Log'
required: true
default: 'warning'
tags:
description: 'Manuel Started'
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/[email protected]
with:
# Version range or exact version of a Python version to use, using SemVer's version range syntax.
python-version: 3.11 # optional, default is 3.x
# The target architecture (x86, x64) of the Python interpreter.
architecture: x64 # optional
- name: install requests via pip
run: "pip install requests"
- name: install daytime via datetime
run: "pip install datetime"
- name: install packages and run programm
run: python EarlyBird.py ${{ secrets.BOT_TOKEN }} ${{ secrets.CHAT_ID }}