mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-24 23:19:39 -05:00
ci: always use tee -a when writing output
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
332c78da60
commit
4628222780
2
.github/actions/shortname/action.yaml
vendored
2
.github/actions/shortname/action.yaml
vendored
@ -42,4 +42,4 @@ runs:
|
||||
echo "ref=$ref"
|
||||
echo "stream=$stream"
|
||||
echo "version=$version"
|
||||
} | tee "$GITHUB_OUTPUT" "$GITHUB_ENV"
|
||||
} | tee -a "$GITHUB_OUTPUT" "$GITHUB_ENV"
|
||||
|
6
.github/workflows/build-os-image.yml
vendored
6
.github/workflows/build-os-image.yml
vendored
@ -121,7 +121,7 @@ jobs:
|
||||
echo "disk-mapper-sha256=$(sha256sum disk-mapper | head -c 64)"
|
||||
echo "upgrade-agent-sha256=$(sha256sum upgrade-agent | head -c 64)"
|
||||
echo "measurement-reader-sha256=$(sha256sum measurement-reader | head -c 64)"
|
||||
} | tee "$GITHUB_OUTPUT"
|
||||
} | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
build-settings:
|
||||
name: "Determine build settings"
|
||||
@ -208,7 +208,7 @@ jobs:
|
||||
echo "imageName=ref/${REF}/stream/${STREAM}/${IMAGE_VERSION}"
|
||||
echo "imageApiBasePath=constellation/v1/ref/${REF}/stream/${STREAM}/${IMAGE_VERSION}/image"
|
||||
echo "cliApiBasePath=constellation/v1/ref/${REF}/stream/${STREAM}/${IMAGE_VERSION}/cli"
|
||||
} | tee "$GITHUB_OUTPUT"
|
||||
} | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
if [[ "${REF}" = "-" ]] && [[ "${STREAM}" = "stable" ]]; then
|
||||
echo "imageNameShort=${IMAGE_VERSION}" >> "$GITHUB_OUTPUT"
|
||||
@ -329,7 +329,7 @@ jobs:
|
||||
echo "image-vmlinuz-${{ matrix.csp }}-sha256=$(sha256sum image.vmlinuz | head -c 64)"
|
||||
echo "image-raw-changelog-${{ matrix.csp }}-sha256=$(sha256sum image.raw.changelog | head -c 64)"
|
||||
echo "image-raw-manifest-${{ matrix.csp }}-sha256=$(sha256sum image.raw.manifest | head -c 64)"
|
||||
} | tee "$GITHUB_OUTPUT"
|
||||
} | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Upload raw OS image as artifact
|
||||
if: always()
|
||||
|
4
.github/workflows/e2e-test-weekly.yml
vendored
4
.github/workflows/e2e-test-weekly.yml
vendored
@ -42,8 +42,8 @@ jobs:
|
||||
env:
|
||||
REFSTREAM: ${{ matrix.refStream }}
|
||||
run: |
|
||||
echo "ref=${REFSTREAM%-*}" | tee "$GITHUB_OUTPUT"
|
||||
echo "stream=${REFSTREAM#*-}" | tee "$GITHUB_OUTPUT"
|
||||
echo "ref=${REFSTREAM%-*}" | tee -a "$GITHUB_OUTPUT"
|
||||
echo "stream=${REFSTREAM#*-}" | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Find latest image
|
||||
id: find-latest-image
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
echo "MAJOR_MINOR=${PART_MAJOR}.${PART_MINOR}"
|
||||
echo "MAJOR_MINOR_PATCH=${PART_MAJOR}.${PART_MINOR}.${PART_PATCH}"
|
||||
echo "RELEASE_BRANCH=release/v${PART_MAJOR}.${PART_MINOR}"
|
||||
} | tee "$GITHUB_OUTPUT"
|
||||
} | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
docs:
|
||||
name: Create docs release
|
||||
|
Loading…
Reference in New Issue
Block a user