Skip to content

Commit 2a3aca7

Browse files
committed
correct run
1 parent b03acf2 commit 2a3aca7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/update-dev-container-version.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
fetch-depth: 0
2626
- name: Load config value
2727
id: load-config
28-
run: >
28+
run: |
29+
set -euo pipefail
2930
DEVCONTAINER_IMAGE=$(jq -r '.build.args.IMAGE_NAME'
3031
.devcontainer/devcontainer.json)
3132
@@ -40,7 +41,7 @@ jobs:
4041
id: resolve-version
4142
env:
4243
GH_TOKEN: "${{ github.token }}"
43-
run: >
44+
run: |
4445
set -euo pipefail
4546
4647
@@ -92,12 +93,11 @@ jobs:
9293
9394
echo "Resolved latest version: ${RESOLVED_VERSION}"
9495
95-
echo "LATEST_DEVCONTAINER_VERSION=${RESOLVED_VERSION}" >>
96-
"$GITHUB_ENV"
96+
echo "LATEST_DEVCONTAINER_VERSION=${RESOLVED_VERSION}" >> "$GITHUB_ENV"
9797
9898
echo "latest_version=${RESOLVED_VERSION}" >> "$GITHUB_OUTPUT"
9999
- name: Update devcontainer version in config
100-
run: >
100+
run: |
101101
set -euo pipefail
102102
103103

0 commit comments

Comments
 (0)