File tree Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Expand file tree Collapse file tree 2 files changed +43
-1
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
+
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 }}
Original file line number Diff line number Diff line change 1
1
name : Test my typescript action
2
2
3
- on : pull_request
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - ' src/**'
7
+ - ' dist/**'
8
+ - tsconfig.json
9
+ - package*
4
10
5
11
env :
6
12
IMAGE_NAME : alpine:3.10.1
You can’t perform that action at this time.
0 commit comments