File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-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
17+ id : create_release
18+ uses : softprops/action-gh-release@v2
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+ with :
22+ tag_name : ${{ github.ref }}
23+ name : Release ${{ github.ref }}
24+ draft : false
25+ prerelease : false
26+ generate_release_notes : true
27+
28+ - name : Update Packagist
29+ env :
30+ API_TOKEN : ${{ secrets.PackagistApiToken }}
31+ 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-pci-4-compatibility"}}'
You can’t perform that action at this time.
0 commit comments