File tree Expand file tree Collapse file tree 4 files changed +32
-46
lines changed Expand file tree Collapse file tree 4 files changed +32
-46
lines changed Original file line number Diff line number Diff line change 66 - master
77
88jobs :
9- tests :
9+ m- tests :
1010 uses : ./.github/workflows/tests.yml
1111
12- tag :
12+ release-on-push :
13+ needs : m-tests
1314 runs-on : ubuntu-latest
14- needs : tests
15+ env :
16+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1517 steps :
16- - uses : actions/checkout@v2
18+ - uses : rymndhng/release-on-push-action@master
1719 with :
18- fetch-depth : ' 0'
19- - name : Bump version and push tag
20- uses :
anothrNick/[email protected] 20+ bump_version_scheme : patch
21+
22+ publish :
23+ needs : m-tests
24+ runs-on : ubuntu-latest
25+ permissions :
26+ contents : read
27+ packages : write
28+ steps :
29+ - uses : actions/checkout@v3
30+ - uses : actions/setup-java@v3
31+ with :
32+ java-version : ' 8'
33+ distribution : ' adopt'
34+ - name : Publish package
35+ run : mvn -DskipTests --batch-mode deploy
2136 env :
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23- WITH_V : true
24- VERBOSE : true
25- DEFAULT_BUMP : patch
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 steps :
88 - name : Checkout
99 uses : actions/checkout@v3
10- - name : Set up JDK 11
10+ - name : Set up JDK 8
1111 uses : actions/setup-java@v3
1212 with :
1313 java-version : ' 8'
Original file line number Diff line number Diff line change 2020
2121 <groupId >com.ing.ranger</groupId >
2222 <artifactId >ranger-s3-plugin</artifactId >
23- <version >0.4 </version >
23+ <version >v0.1.0 </version >
2424
2525 <properties >
2626 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
6565 <scope >test</scope >
6666 <version >${assertj.version} </version >
6767 </dependency >
68-
6968 </dependencies >
7069
7170 <build >
196195 </plugin >
197196 </plugins >
198197 </build >
198+ <distributionManagement >
199+ <repository >
200+ <id >github</id >
201+ <name >GitHub Packages</name >
202+ <url >https://maven.pkg.github.com/ing-bank/apache-ranger-s3-plugin</url >
203+ </repository >
204+ </distributionManagement >
199205</project >
You can’t perform that action at this time.
0 commit comments