GET UP #510
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: GET UP | |
on: | |
workflow_dispatch: | |
inputs: | |
message: | |
description: 'weather message' | |
required: false | |
jobs: | |
sync: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
cache: 'pip' | |
cache-dependency-path: '**/requirements.txt' | |
- name: Install requirements dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: GET UP | |
run: | | |
python get_up.py ${{ secrets.ACTION_TOKEN }} ${{ github.repository }} --weather_message ": ${{ github.event.inputs.message }}" |