File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 59
59
-Dsonar.host.url=https://sonarcloud.io \
60
60
-Dsonar.token=${SONAR_TOKEN}
61
61
62
+ deploy-artifactory :
63
+ # if: github.repository_owner == 'entur' && github.event_name == 'push' && github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'ci skip')
64
+ needs : [maven-package]
65
+ runs-on : ubuntu-24.04
66
+ steps :
67
+ - uses : actions/checkout@v4
68
+ with :
69
+ fetch-depth : 0
70
+ - name : Copy maven settings
71
+ run : |
72
+ wget https://raw.githubusercontent.com/entur/ror-maven-settings/master/.m2/settings.xml -O .github/workflows/settings.xml
73
+ - uses : actions/setup-java@v4
74
+ with :
75
+ java-version : 17.0.13
76
+ distribution : liberica
77
+ - name : Cache Maven dependencies
78
+ uses : actions/cache@v4
79
+ with :
80
+ path : ~/.m2/repository
81
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
82
+ restore-keys : |
83
+ ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
84
+ ${{ runner.os }}-maven-
85
+ ${{ runner.os }}-
86
+
87
+ - name : Deploy to Entur Artifactory
88
+ run : mvn deploy -s .github/workflows/settings.xml -DskipTests
89
+
90
+
You can’t perform that action at this time.
0 commit comments