Skip to content

Commit

Permalink
CI: move PR body to env
Browse files Browse the repository at this point in the history
  • Loading branch information
PraneethJain committed May 26, 2024
1 parent 7319f0b commit 281a6d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-linux-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
arch: ${{ matrix.arch }}
- name: Build libcxxwrap
continue-on-error: true
env:
body: ${{ github.event.pull_request.body }}
run: |
mkdir libcxxwrap && cd libcxxwrap
body="${{github.event.pull_request.body}}"
first_line=$(echo "$body" | sed -n '1p')
if [[ "$first_line" == *"#"* ]]; then
IFS='#' read -r left right <<< "$first_line"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
arch: ${{ matrix.arch }}
- name: Clone libcxxwrap
continue-on-error: true
env:
body: ${{ github.event.pull_request.body }}
run: |
mkdir libcxxwrap && cd libcxxwrap
body="${{github.event.pull_request.body}}"
first_line=$(echo "$body" | sed -n '1p')
if [[ "$first_line" == *"#"* ]]; then
IFS='#' read -r left right <<< "$first_line"
Expand Down

0 comments on commit 281a6d3

Please sign in to comment.