File tree 2 files changed +32
-21
lines changed
2 files changed +32
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ # Sequence of patterns matched against refs/tags
4
+ tags :
5
+ - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
6
+
7
+ name : Create Release
8
+
9
+ jobs :
10
+ build :
11
+ name : Create Release
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout code
15
+ uses : actions/checkout@v2
16
+
17
+ - name : Create Release
18
+ id : create_release
19
+ uses : actions/create-release@v1
20
+ env :
21
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22
+ with :
23
+ tag_name : ${{ github.ref }}
24
+ release_name : Release ${{ github.ref }}
25
+ draft : false
26
+ prerelease : false
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/bigcommerce-api-client"}}'
32
+
You can’t perform that action at this time.
0 commit comments