We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e35a9a commit 477b6a3Copy full SHA for 477b6a3
.github/workflows/khronos-binaries.yml
@@ -24,7 +24,14 @@ jobs:
24
run: node build.binaries.mjs
25
- name: Read build description
26
id: build_description
27
- run: echo "::set-output name=DESCRIPTION::$(cat build.txt)"
+ run: |
28
+ content=`cat ./build.txt`
29
+ # handle multi-line content
30
+ content="${content//'%'/'%25'}"
31
+ content="${content//$'\n'/'%0A'}"
32
+ content="${content//$'\r'/'%0D'}"
33
+ # end of handle multi-line content
34
+ echo "::set-output name=DESCRIPTION::$content"
35
- name: Release
36
uses: softprops/action-gh-release@v1
37
# if: startsWith(github.ref, 'refs/tags/')
0 commit comments