File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- # Version 2023-03-03
1
+ # Version 2023-03-05
2
2
name : Java CI
3
3
on : [push, pull_request]
4
4
36
36
with :
37
37
java-version : ${{ matrix.java }}
38
38
distribution : temurin
39
- server-id : igniterealtime
40
- server-username : CI_DEPLOY_USERNAME
41
- server-password : CI_DEPLOY_PASSWORD
42
39
43
40
- name : Cache Maven repository
44
41
uses : actions/cache@v3
@@ -49,14 +46,18 @@ jobs:
49
46
${{ runner.os }}-java${{ matrix.java }}-maven-
50
47
${{ runner.os }}-
51
48
49
+ - name : Igniterealtime CI Tooling
50
+ run : |
51
+ git clone --depth 1 https://github.com/igniterealtime/ci-tooling.git target/ci-tooling
52
+ cp target/ci-tooling/maven-settings-for-openfire-plugins.xml $HOME/.m2/settings.xml
53
+
52
54
- name : Build with Maven
53
55
run : mvn -B package
54
56
55
57
- name : Conditionally Deploy to Igniterealtime Archiva
56
58
id : deploy
57
59
if : ${{ contains(github.repository, 'igniterealtime/') && ( ( github.event_name == 'push' && github.ref == 'refs/heads/main' ) || contains(github.ref, 'refs/tags/') ) && matrix.java == '8' }}
58
- run : |
59
- mvn -B deploy -Dmaven.resolver.transport=wagon
60
+ run : mvn -B deploy -Dmaven.resolver.transport=wagon --settings target/ci-tooling/maven-settings-for-openfire-plugins.xml
60
61
env :
61
62
CI_DEPLOY_USERNAME : ${{ secrets.IGNITE_REALTIME_MAVEN_USERNAME }}
62
63
CI_DEPLOY_PASSWORD : ${{ secrets.IGNITE_REALTIME_MAVEN_PASSWORD }}
You can’t perform that action at this time.
0 commit comments