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:
377
377
id : get-version
378
378
run : |
379
379
echo ::set-output name=version::${GITHUB_REF#refs/tags/}
380
- echo ::set-output name=release_body::$(.ci/release-notes.sh CHANGELOG.md)
381
380
382
381
- name : Download Zephir Parser build artifacts
383
382
id : download
384
383
uses : actions/download-artifact@v2
384
+ with :
385
+ path : ./build-artifacts
385
386
386
- - name : Check for Release Assets
387
+ - name : Prepare Release assets
387
388
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
389
393
390
394
- name : Create Release
391
395
uses : ncipollo/release-action@v1
392
396
with :
393
397
token : ${{ secrets.GITHUB_TOKEN }}
394
398
name : ${{ steps.get-version.outputs.version }}
395
399
tag : ${{ steps.get-version.outputs.version }}
396
- body : ${{ steps.get-version.outputs.release_body }}
400
+ bodyFile : " ./build-artifacts/release/release-notes.md "
397
401
allowUpdates : true
398
- artifacts : " ${{steps.download.outputs.download-path}}/zephir-parser *.zip"
402
+ artifacts : " ./build-artifacts/release/ *.zip"
399
403
artifactContentType : application/octet-stream
You can’t perform that action at this time.
0 commit comments