File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,9 @@ jobs:
107107 name : github-pages
108108 url : ${{ steps.deployment.outputs.page_url }}
109109 steps :
110+ - name : Checkout code
111+ uses : actions/checkout@v3
112+
110113 - uses : actions/download-artifact@v4.1.8
111114 with :
112115 name : firmware
@@ -125,10 +128,7 @@ jobs:
125128 PR_INFO=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \
126129 "https://api.github.com/repos/${{ github.repository }}/pulls?state=closed&sort=updated&direction=desc&per_page=1")
127130 PR_BODY=$(echo "$PR_INFO" | jq -r '.[0].body')
128- echo "::set-output name=body::$PR_BODY"
129-
130- - name : Checkout code
131- uses : actions/checkout@v3
131+ echo "$PR_BODY" > pr_body.txt # Save to a file
132132
133133 - name : Read version from YAML file
134134 id : read_version
@@ -144,7 +144,7 @@ jobs:
144144 with :
145145 tag_name : " ${{ env.project_version }}"
146146 release_name : " Firmware Release ${{ env.project_version }}"
147- body : " ${{ steps.last_pr.outputs.body }} "
147+ body : " $(cat pr_body.txt) "
148148 draft : false
149149 prerelease : false
150150 env :
Original file line number Diff line number Diff line change 11substitutions :
2- version : " 24.11.7.8 "
2+ version : " 24.11.7.9 "
33
44esp32 :
55 board : esp32-c3-devkitm-1
You can’t perform that action at this time.
0 commit comments