File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ if [[ ! "${RELEASE_VERSION}" =~ ^([0-9]*)\.([0-9]*)\.([0-9]*)$ ]]; then
71
71
fi
72
72
73
73
echo_info " Extracted release version: ${RELEASE_VERSION} "
74
- echo " ::set-output name= version:: v${RELEASE_VERSION} "
74
+ echo " version= v${RELEASE_VERSION} " >> $GITHUB_OUTPUT
75
75
76
76
77
77
echo_info " "
@@ -169,12 +169,12 @@ readonly CHANGELOG=`${CURRENT_DIR}/generate_changelog.sh`
169
169
echo " $CHANGELOG "
170
170
171
171
# Parse and preformat the text to handle multi-line output.
172
- # See https://github.community/t5/GitHub-Actions/set-output-Truncates-Multiline-Strings/td-p/37870
172
+ # See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#example-of-a-multiline-string
173
+ # and https://github.com/github/docs/issues/21529#issue-1418590935
173
174
FILTERED_CHANGELOG=` echo " $CHANGELOG " | grep -v " \\ [INFO\\ ]" `
174
- FILTERED_CHANGELOG=" ${FILTERED_CHANGELOG// ' %' / ' %25' } "
175
- FILTERED_CHANGELOG=" ${FILTERED_CHANGELOG// $' \n ' / ' %0A' } "
176
- FILTERED_CHANGELOG=" ${FILTERED_CHANGELOG// $' \r ' / ' %0D' } "
177
- echo " ::set-output name=changelog::${FILTERED_CHANGELOG} "
175
+ echo " changelog<<CHANGELOGEOF" >> $GITHUB_OUTPUT
176
+ echo " $FILTERED_CHANGELOG " >> $GITHUB_OUTPUT
177
+ echo " CHANGELOGEOF" >> $GITHUB_OUTPUT
178
178
179
179
180
180
echo " "
Original file line number Diff line number Diff line change 29
29
30
30
steps :
31
31
- name : Checkout source for staging
32
- uses : actions/checkout@v3
32
+ uses : actions/checkout@v4
33
33
with :
34
34
ref : ${{ github.event.client_payload.ref || github.ref }}
35
35
Original file line number Diff line number Diff line change 40
40
# via the 'ref' client parameter.
41
41
steps :
42
42
- name : Checkout source for staging
43
- uses : actions/checkout@v2
43
+ uses : actions/checkout@v4
44
44
with :
45
45
ref : ${{ github.event.client_payload.ref || github.ref }}
46
46
95
95
96
96
steps :
97
97
- name : Checkout source for publish
98
- uses : actions/checkout@v2
98
+ uses : actions/checkout@v4
99
99
100
100
# Download the artifacts created by the stage_release job.
101
101
- name : Download release candidates
You can’t perform that action at this time.
0 commit comments