File tree 2 files changed +83
-0
lines changed
2 files changed +83
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+
4
+ - package-ecosystem : " maven"
5
+ directory : " /"
6
+ schedule :
7
+ interval : " daily"
8
+ time : " 12:00"
9
+ timezone : " Europe/Berlin"
10
+ assignees :
11
+ - " Krazzzzymonkey"
12
+ - " nothub"
13
+ reviewers :
14
+ - " Krazzzzymonkey"
15
+ - " nothub"
16
+ commit-message :
17
+ prefix : " maven"
18
+ include : " scope"
19
+
20
+ - package-ecosystem : " github-actions"
21
+ directory : " /"
22
+ schedule :
23
+ interval : " daily"
24
+ time : " 12:00"
25
+ timezone : " Europe/Berlin"
26
+ assignees :
27
+ - " Krazzzzymonkey"
28
+ - " nothub"
29
+ reviewers :
30
+ - " Krazzzzymonkey"
31
+ - " nothub"
32
+ commit-message :
33
+ prefix : " github-actions"
34
+ include : " scope"
Original file line number Diff line number Diff line change
1
+ name : 🧑🏭
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ jobs :
9
+ release :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+
13
+ - name : Git
14
+ uses : actions/checkout@v2
15
+
16
+ - name : Java
17
+
18
+ with :
19
+ distribution : ' adopt'
20
+ java-version : ' 8'
21
+
22
+ - name : Cache
23
+ uses : actions/cache@v2
24
+ with :
25
+ path : ~/.m2
26
+ key : ' ${{ runner.os }}-m2-${{ hashFiles('' **/pom.xml'' ) }}'
27
+ restore-keys : ' ${{ runner.os }}-m2'
28
+
29
+ - name : Package
30
+ run : mvn --batch-mode --show-version --errors package --file pom.xml
31
+
32
+ - name : Draft
33
+ id : create_release
34
+ uses : actions/create-release@v1
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
+ with :
38
+ tag_name : ${{ github.ref }}
39
+ release_name : ${{ github.ref }}
40
+ body : ' automated release at commit ${{ github.sha }}'
41
+ draft : false
42
+ prerelease : false
43
+
44
+ - name : Release
45
+ uses : csexton/release-asset-action@v2
46
+ with :
47
+ pattern : " target/QueuePlugin-*.jar"
48
+ github-token : ${{ secrets.GITHUB_TOKEN }}
49
+ release-url : ${{ steps.create_release.outputs.upload_url }}
You can’t perform that action at this time.
0 commit comments