LoaderSpot/.github/workflows/version-check.yml
amd64fox 2cad3be3d8
Update and rename main.yml to version-check.yml
- a wait has been added in case of multiple runs
- dependency handling directly in the workflow
2025-02-14 13:23:54 +03:00

28 lines
696 B
YAML

name: Version Check
on:
repository_dispatch:
types: [webhook-event]
concurrency:
group: delayed-version-check
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12.2
- name: Install dependencies
run: |
pip install aiohttp beautifulsoup4 argparse
- name: Version search
run: python ${{ github.workspace }}/upd.py -v ${{ github.event.client_payload.v }} -s "${{ github.event.client_payload.s }}" -u "${{ secrets.GOOGLE_APPS_URL }}"