remove self hosted runner check where it might not be needed

This commit is contained in:
realbigsean 2023-08-10 09:41:34 -04:00
parent 8d81f1bee7
commit 754ce5ec61
No known key found for this signature in database
GPG Key ID: BE1B3DB104F6C788

View File

@ -83,12 +83,10 @@ jobs:
run: | run: |
echo "${DOCKER_PASSWORD}" | docker login --username ${DOCKER_USERNAME} --password-stdin echo "${DOCKER_PASSWORD}" | docker login --username ${DOCKER_USERNAME} --password-stdin
- name: Cross build Lighthouse binary - name: Cross build Lighthouse binary
if: env.SELF_HOSTED_RUNNERS == false
run: | run: |
cargo install cross cargo install cross
env CROSS_PROFILE=${{ matrix.profile }} CROSS_FEATURES=${{ matrix.features.env }} make build-${{ matrix.binary }} env CROSS_PROFILE=${{ matrix.profile }} CROSS_FEATURES=${{ matrix.features.env }} make build-${{ matrix.binary }}
- name: Make bin dir - name: Make bin dir
if: env.SELF_HOSTED_RUNNERS == false
run: mkdir ./bin run: mkdir ./bin
- name: Move cross-built binary into Docker scope (if ARM) - name: Move cross-built binary into Docker scope (if ARM)
if: startsWith(matrix.binary, 'aarch64') if: startsWith(matrix.binary, 'aarch64')