mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Update build.yml
This commit is contained in:
parent
fb81ea6939
commit
ddc817ab32
1 changed files with 17 additions and 1 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -15,9 +15,25 @@ env:
|
||||||
GITHUB_TOKEN: ${{ secrets.ETOKEN }}
|
GITHUB_TOKEN: ${{ secrets.ETOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
DetermineRunner:
|
||||||
|
name: Determine Runner
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
runner: ${{ steps.set-runner.outputs.runner }}
|
||||||
|
steps:
|
||||||
|
- name: Determine which runner to use
|
||||||
|
id: set-runner
|
||||||
|
uses: benjaminmichaelis/get-soonest-available-runner@v1.1.0
|
||||||
|
with:
|
||||||
|
primary-runner: "self-hosted"
|
||||||
|
fallback-runner: "ubuntu-latest"
|
||||||
|
min-available-runners: 1
|
||||||
|
github-token: ${{ env.GITHUB_TOKEN }}
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
name: Build Equicord
|
name: Build Equicord
|
||||||
runs-on: self-hosted
|
needs: DetermineRunner
|
||||||
|
runs-on: ${{ needs.DetermineRunner.outputs.runner}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
Loading…
Reference in a new issue