Update build.yml

This commit is contained in:
thororen1234 2024-07-18 19:07:29 -04:00
parent 6388f97822
commit fb81ea6939

View file

@ -15,25 +15,9 @@ env:
GITHUB_TOKEN: ${{ secrets.ETOKEN }}
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:
name: Build Equicord
needs: DetermineRunner
runs-on: ${{ needs.DetermineRunner.outputs.runner}}
runs-on: self-hosted
steps:
- uses: actions/checkout@v4