Skip to content

Commit 54baf59

Browse files
committed
Add caching to github actions
1 parent 2588ab2 commit 54baf59

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
with:
1717
java-version: '8'
1818
distribution: 'temurin'
19-
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
20-
settings-path: ${{ github.workspace }} # location for the settings.xml file
19+
settings-path: ${{ github.workspace }}
20+
cache: 'maven'
2121

2222
- name: set values
2323
id: set-values

pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,4 @@
9595
</plugin>
9696
</plugins>
9797
</build>
98-
99-
<distributionManagement>
100-
<repository>
101-
<id>github</id>
102-
<name>GitHub Packages</name>
103-
<url>https://maven.pkg.github.com/wouterh-dev/keycloak-spi-trusted-device</url>
104-
</repository>
105-
</distributionManagement>
10698
</project>

0 commit comments

Comments
 (0)