31 lines
913 B
YAML
31 lines
913 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@v5
|
|
|
|
- name: Download latest loaderspot_cli_linux_x64
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
run: |
|
|
gh release download --repo ${{ github.repository }} --pattern "loaderspot-cli-linux-x64" --output loaderspot_cli
|
|
chmod +x loaderspot_cli
|
|
|
|
- name: Version search
|
|
if: github.event.client_payload.v && github.event.client_payload.s
|
|
env:
|
|
v: ${{ github.event.client_payload.v }}
|
|
s: ${{ github.event.client_payload.s }}
|
|
g: ${{ secrets.GOOGLE_APPS_URL }}
|
|
run: ./loaderspot_cli --version "$v" --source "$s" --gas-url "$g" --connections 300
|