Skip to content

Commit 0f2917b

Browse files
update selfhost runner logic
1 parent b2f962a commit 0f2917b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/_linux-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ jobs:
100100
build:
101101
environment: ${{ github.ref == 'refs/heads/main' && 'scribe-protected' || startsWith(github.ref, 'refs/heads/release/') && 'scribe-protected' || contains(github.event.pull_request.labels.*.name, 'ci-scribe') && 'scribe-pr' || '' }}
102102
# Don't run on forked repos
103-
#if: inputs.runner == 'ppc64le'
103+
104104
#runs-on: ["self-hosted", "Linux", "ppc64le"]
105-
runs-on: ${{ inputs.runner_prefix}}${{ inputs.runner }}
105+
runs-on: ${{ fromJson(inputs.runner) }}
106106

107107
timeout-minutes: 240
108108
outputs:

.github/workflows/ppc64le.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
with:
4040
build-environment: linux-ppc64le-binary-manywheel
4141
docker-image-name: pytorch-ppc64le:ubi9.3
42-
runner: 'self-hosted,Linux,ppc64le'
42+
runner: '["self-hosted", "Linux", "ppc64le"]'

0 commit comments

Comments
 (0)