File tree Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 2020 distribution : ' temurin'
2121 cache : maven
2222
23+ - name : Generate settings.xml
24+ run : |
25+ mkdir -p ~/.m2
26+ echo "<settings>
27+ <servers>
28+ <server>
29+ <id>github</id>
30+ <username>${{ github.actor }}</username>
31+ <password>${{ secrets.GITHUB_TOKEN }}</password>
32+ </server>
33+ </servers>
34+ </settings>" > ~/.m2/settings.xml
35+
2336 - name : Download dependencies
2437 run : |
2538 set -x
3952 echo "default-key $(gpg --list-keys --with-colons | grep pub | cut -d':' -f5)" >> ~/.gnupg/gpg.conf
4053 echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
4154
42- - name : Generate settings.xml
43- if : github.ref == 'refs/heads/main'
44- run : |
45- mkdir -p ~/.m2
46- echo "<settings>
47- <servers>
48- <server>
49- <id>github</id>
50- <username>${{ github.actor }}</username>
51- <password>${{ secrets.GITHUB_TOKEN }}</password>
52- </server>
53- </servers>
54- </settings>" > ~/.m2/settings.xml
55-
5655 - name : Deploy Snapshot (only for main)
5756 if : github.ref == 'refs/heads/main'
5857 run : |
Original file line number Diff line number Diff line change 8181 <surefire-plugin .version>3.5.2</surefire-plugin .version>
8282 </properties >
8383
84+ <repositories >
85+ <repository >
86+ <releases >
87+ <enabled >false</enabled >
88+ </releases >
89+ <snapshots >
90+ <enabled >true</enabled >
91+ </snapshots >
92+ <id >github</id >
93+ <url >https://maven.pkg.github.com/DataSQRL/sqrl</url >
94+ </repository >
95+ </repositories >
96+
8497 <dependencyManagement >
8598 <dependencies >
8699 <dependency >
You can’t perform that action at this time.
0 commit comments