File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -377,23 +377,27 @@ jobs:
377377 id : get-version
378378 run : |
379379 echo ::set-output name=version::${GITHUB_REF#refs/tags/}
380- echo ::set-output name=release_body::$(.ci/release-notes.sh CHANGELOG.md)
381380
382381 - name : Download Zephir Parser build artifacts
383382 id : download
384383 uses : actions/download-artifact@v2
384+ with :
385+ path : ./build-artifacts
385386
386- - name : Check for Release Assets
387+ - name : Prepare Release assets
387388 run : |
388- ls -lah | grep "\.zip"
389+ mkdir -p ./build-artifacts/release
390+ find ./build-artifacts -type f -name zephir-parser*.zip -exec cp {} ./build-artifacts/release/ ";"
391+ echo "-- Creating Release Notes"
392+ GITHUB_ACTIONS=false ./.ci/release-notes.sh ./CHANGELOG.md > ./build-artifacts/release/release-notes.md
389393
390394 - name : Create Release
391395 uses : ncipollo/release-action@v1
392396 with :
393397 token : ${{ secrets.GITHUB_TOKEN }}
394398 name : ${{ steps.get-version.outputs.version }}
395399 tag : ${{ steps.get-version.outputs.version }}
396- body : ${{ steps.get-version.outputs.release_body }}
400+ bodyFile : " ./build-artifacts/release/release-notes.md "
397401 allowUpdates : true
398- artifacts : " ${{steps.download.outputs.download-path}}/zephir-parser *.zip"
402+ artifacts : " ./build-artifacts/release/ *.zip"
399403 artifactContentType : application/octet-stream
You can’t perform that action at this time.
0 commit comments