Python #470
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |