Skip to content

Commit e192a30

Browse files
committed
ci: heredoc syntax "<<<" also seems to be a bash-ism
1 parent 69f65d0 commit e192a30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/wc-build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
id: devcontainer-metadata
106106
- run: echo "git-commit-epoch=$(git log -1 --pretty=%ct)" >> "$GITHUB_OUTPUT"
107107
id: devcontainer-epoch
108-
- run: echo "arch=$(tr '[:upper:]' '[:lower:]' <<< "${RUNNER_ARCH}")" >> "$GITHUB_OUTPUT"
108+
- run: echo "arch=$(echo "${RUNNER_ARCH}" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
109109
id: devcontainer-arch
110110
- uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
111111
id: build-and-push

.github/workflows/wc-integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5353
with:
5454
persist-credentials: false
55-
- run: echo "arch=$(tr '[:upper:]' '[:lower:]' <<< "${RUNNER_ARCH}")" >> "$GITHUB_OUTPUT"
55+
- run: echo "arch=$(echo "${RUNNER_ARCH}" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
5656
id: runner-arch
5757
- run: bats --formatter junit "${TEST_FILE}" | tee "test-report-${IMAGE_BASENAME}-${RUNNER_ARCH}.xml"
5858
env:

0 commit comments

Comments
 (0)