浏览代码

Additional fix to GitHub Actions

Sebastien 4 年之前
父节点
当前提交
445d335974
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .github/workflows/CrossBuild.yml

+ 3 - 0
.github/workflows/CrossBuild.yml

@@ -63,6 +63,9 @@ jobs:
         description="$description$(git log --pretty=format:'%h %s (%cI) <%an>' --abbrev-commit --max-count=15 | sed --r 's/(^[\*]+)/\\\1/g') "        
         echo ${description}
         echo ${description} >>release_desc.txt
+        description="${description//'%'/'%25'}"
+        description="${description//$'\n'/'%0A'}"
+        description="${description//$'\r'/'%0D'}"        
         echo "description=${description}" >> $GITHUB_ENV
         cat release_desc.txt
     - name: Show Target