👷 Fix descriptor

This commit is contained in:
marocchino 2025-04-11 07:24:28 +09:00
parent faaf52818d
commit 91b5bf387e
No known key found for this signature in database
GPG key ID: F54107506CCF18D0

View file

@ -16,10 +16,9 @@ jobs:
- run: | - run: |
set -o pipefail set -o pipefail
mkdir -p ./pr mkdir -p ./pr
echo ${{ github.event.number }} | tee ./pr/number
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "all_result<<$EOF" >> "$GITHUB_ENV" echo "all_result<<$EOF" >> "$GITHUB_ENV"
yarn all >> "$GITHUB_ENV" 2&>1 || true # proceed even if yarn fails yarn all >> "$GITHUB_ENV" 2>&1 || true # proceed even if yarn fails
echo >> "$GITHUB_ENV" # yarn all doesn't necessarily produce a newline echo >> "$GITHUB_ENV" # yarn all doesn't necessarily produce a newline
echo "$EOF" >> "$GITHUB_ENV" echo "$EOF" >> "$GITHUB_ENV"
id: all id: all
@ -29,9 +28,9 @@ jobs:
header: All header: All
message: | message: |
<details open> <details open>
<summary>output of yarn all</summary> <summary>Output of yarn all</summary>
``` ```shell
${{ env.all_result }} ${{ env.all_result }}
``` ```
</details> </details>