- a wait has been added in case of multiple runs - dependency handling directly in the workflow
28 lines
696 B
YAML
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 }}"
|