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
This commit is contained in:
amd64fox 2025-02-14 13:23:54 +03:00 committed by GitHub
parent 13d2d94011
commit 2cad3be3d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,10 @@ name: Version Check
on:
repository_dispatch:
types: [webhook-event]
concurrency:
group: delayed-version-check
cancel-in-progress: false
jobs:
build:
@ -17,7 +21,8 @@ jobs:
python-version: 3.12.2
- name: Install dependencies
run: pip install -r requirements.txt
run: |
pip install aiohttp beautifulsoup4 argparse
- name: Run Python script
- 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 }}"