File tree Expand file tree Collapse file tree 2 files changed +93
-0
lines changed Expand file tree Collapse file tree 2 files changed +93
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Category
2
+
3
+ This change is exactly one of the following (please change ` [ ] ` to ` [x] ` ) to indicate which:
4
+ * [ ] a bug fix (Fix #...)
5
+ * [ ] a new Ripper
6
+ * [ ] a refactoring
7
+ * [ ] a style change/fix
8
+ * [ ] a new feature
9
+
10
+
11
+ # Description
12
+
13
+ Please add details about your change here.
14
+
15
+
16
+ # Testing
17
+
18
+ Required verification:
19
+ * [ ] I've verified that there are no regressions in ` mvn test ` (there are no new failures or errors).
20
+ * [ ] I've verified that this change works as intended.
21
+ * [ ] Downloads all relevant content.
22
+ * [ ] Downloads content from multiple pages (as necessary or appropriate).
23
+ * [ ] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.
24
+ * [ ] I've verified that this change did not break existing functionality (especially in the Ripper I modified).
25
+
26
+ Optional but recommended:
27
+ * [ ] I've added a unit test to cover my change.
Original file line number Diff line number Diff line change
1
+ name : CI + release
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - ' **'
8
+ tags :
9
+ - ' !**'
10
+
11
+ jobs :
12
+ build :
13
+
14
+ runs-on : ${{ matrix.os }}
15
+ strategy :
16
+ matrix :
17
+ os : [ubuntu-latest, windows-latest, macOS-latest]
18
+ java : [17, 21]
19
+ include : # upload from java-17 only
20
+ - java : 17
21
+ upload : false
22
+
23
+ steps :
24
+
25
+ - uses : actions/checkout@v1
26
+
27
+ - name : Set environment CI_ variables
28
+ id : ci-env
29
+ uses :
FranzDiebold/[email protected]
30
+
31
+ - name : Set up java
32
+
33
+ with :
34
+ java-version : ${{ matrix.java }}
35
+ distribution : zulu
36
+ cache : gradle
37
+
38
+ - name : Build with Gradle
39
+ run : |
40
+ git submodule update --init
41
+ gradle clean jar -PjavacRelease=${{ matrix.java }}
42
+
43
+ - name : SHA256
44
+ if : matrix.upload
45
+ run : shasum -a 256 build/libs/*.jar
46
+
47
+ - name : upload jar as asset
48
+ if : matrix.upload
49
+ uses : actions/upload-artifact@v4
50
+ with :
51
+ name : zipped-jar
52
+ path : build/libs/*.jar
53
+
54
+ - name : create pre-release
55
+ id : create-pre-release
56
+ if : matrix.upload
57
+ uses : " marvinpinto/action-automatic-releases@latest"
58
+ with :
59
+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
60
+ automatic_release_tag : " latest-${{ env.CI_REF_NAME_SLUG }}"
61
+ prerelease : true
62
+ title : " development build ${{ env.CI_REF_NAME }}"
63
+ files : |
64
+ build/libs/*.jar
65
+
66
+ # vim:set ts=2 sw=2 et:
You can’t perform that action at this time.
0 commit comments