File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ tags :
4+ - ' [0-9].*'
5+
6+ name : Create Release
7+
8+ jobs :
9+ build :
10+ name : Create Release
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+
16+ - name : Create release notes
17+ id : create-release-notes
18+ uses : johnyherangi/create-release-notes@main
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+
22+ - name : Create Release
23+ id : create_release
24+ uses : actions/create-release@v1
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ with :
28+ tag_name : ${{ github.ref }}
29+ release_name : Release ${{ github.ref }}
30+ draft : false
31+ prerelease : false
32+ body : ${{ steps.create-release-notes.outputs.release-notes }}
33+
34+ - name : Update Packagist
35+ env :
36+ API_TOKEN : ${{ secrets.PackagistApiToken }}
37+ run : curl -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=aligent&apiToken='$API_TOKEN -d'{"repository":{"url":"https://packagist.org/packages/aligent/magento2-prerender-io"}}'
You can’t perform that action at this time.
0 commit comments