36 lines
1 KiB
YAML
36 lines
1 KiB
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: Install Rust toolchain
|
|
uses: dtolnay/rust-toolchain@stable
|
|
|
|
- name: Cache Cargo dependencies
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
~/.cargo/bin/
|
|
~/.cargo/registry/index/
|
|
~/.cargo/registry/cache/
|
|
~/.cargo/git/db/
|
|
LoaderSpot_CLI/target/
|
|
key: ${{ runner.os }}-cargo-${{ hashFiles('LoaderSpot_CLI/Cargo.lock') }}
|
|
|
|
- name: Build LoaderSpot_CLI
|
|
run: cd LoaderSpot_CLI && cargo build --release
|
|
|
|
- name: Version search
|
|
run: ${{ github.workspace }}/LoaderSpot_CLI/target/release/loaderspot_cli --version "${{ github.event.client_payload.v }}" --source "${{ github.event.client_payload.s }}" --gas-url "${{ secrets.GOOGLE_APPS_URL }}" --connections 300
|