mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-14 04:21:14 +00:00
👷 Fix descriptor
This commit is contained in:
parent
faaf52818d
commit
91b5bf387e
1 changed files with 3 additions and 4 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue