Skip to content

Commit 418b2c1

Browse files
Satisfy long-runner workflow shell lint
1 parent 28ec2e7 commit 418b2c1

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/long-runner-ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@ jobs:
2424
id: image
2525
run: |
2626
if [ "${GITHUB_REF}" = "refs/heads/main" ] && [ -n "${ECR_REPOSITORY}" ]; then
27-
echo "push=true" >> "$GITHUB_OUTPUT"
28-
echo "runner_tag=${ECR_REPOSITORY}:latest" >> "$GITHUB_OUTPUT"
29-
echo "worker_tag=${ECR_REPOSITORY}:worker" >> "$GITHUB_OUTPUT"
27+
{
28+
echo "push=true"
29+
echo "runner_tag=${ECR_REPOSITORY}:latest"
30+
echo "worker_tag=${ECR_REPOSITORY}:worker"
31+
} >> "$GITHUB_OUTPUT"
3032
else
31-
echo "push=false" >> "$GITHUB_OUTPUT"
32-
echo "runner_tag=bitcode-long-runner:ci" >> "$GITHUB_OUTPUT"
33-
echo "worker_tag=bitcode-long-runner-worker:ci" >> "$GITHUB_OUTPUT"
33+
{
34+
echo "push=false"
35+
echo "runner_tag=bitcode-long-runner:ci"
36+
echo "worker_tag=bitcode-long-runner-worker:ci"
37+
} >> "$GITHUB_OUTPUT"
3438
fi
3539
3640
# Optionally configure AWS credentials – replace with GCP/Azure/Fly

0 commit comments

Comments
 (0)