Skip to content

Commit 428c0e0

Browse files
committed
Fix output handling for recent commits in build workflow
1 parent 7abce25 commit 428c0e0

2 files changed

Lines changed: 777 additions & 860 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- name: checkout
1616
uses: actions/checkout@v4
17+
with:
18+
submodules: false
1719

1820
- name: setup xcode
1921
uses: maxim-lobanov/setup-xcode@v1
@@ -60,9 +62,11 @@ jobs:
6062
if [ -z "$COMMITS" ]; then
6163
COMMITS="No commits in the last 12 hours"
6264
fi
63-
echo "COMMITS<<EOF" >> $GITHUB_ENV
64-
echo "$COMMITS" >> $GITHUB_ENV
65-
echo "EOF" >> $GITHUB_ENV
65+
{
66+
echo "commits<<EOF"
67+
echo "$COMMITS"
68+
echo "EOF"
69+
} >> "$GITHUB_OUTPUT"
6670
6771
- name: delete old release
6872
uses: actions/github-script@v7
@@ -88,7 +92,7 @@ jobs:
8892
with:
8993
tag_name: latest
9094
name: Latest Build
91-
body: ${{ env.COMMITS }}
95+
body: ${{ steps.commits.outputs.commits }}
9296
files: build/lara.ipa
9397
env:
9498
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)