Skip to content

Commit 341788d

Browse files
update selfhost runner logic
1 parent 740faa2 commit 341788d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/_linux-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
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' || '' }}
108108
# Don't run on forked repos
109109

110-
runs-on: ${{ inputs.runner_prefix}}${{ inputs.runner }}${{ fromJson(inputs.runner-ppc64le) }}
110+
runs-on: ${{ inputs.runner_prefix}}${{ inputs.runner }}${{ inputs.runner-ppc64le }}
111111

112112
timeout-minutes: 240
113113
outputs:

.github/workflows/ppc64le.yml

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

0 commit comments

Comments
 (0)