File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release New Version
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ release :
10+ name : Pre Release
11+ runs-on : ubuntu-18.04
12+ steps :
13+ - uses : actions/checkout@v1
14+
15+ - uses : actions/setup-node@v1
16+ with :
17+ node-version : ' 12.x'
18+
19+ - name : Create Pre Release
20+ uses : actions/create-release@v1.0.0
21+ env :
22+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23+ with :
24+ tag_name : ${{ github.ref }}
25+ release_name : ${{ github.ref }}
26+ draft : ' false'
27+ prerelease : ' true'
28+
29+ - name : Slack Notification
30+ uses : homoluctus/slatify@master
31+ if : always()
32+ with :
33+ type : ${{ job.status }}
34+ job_name : ' :rocket: *Publish new release ${{ github.ref }}*'
35+ channel : ' #develop'
36+ url : ${{ secrets.SLACK_WEBHOOK }}
You can’t perform that action at this time.
0 commit comments