File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -14,30 +14,19 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
16
16
steps :
17
- - name : Checkout Repository
17
+ - name : Checkout
18
18
uses : actions/checkout@v4
19
19
20
- - name : Set up JDK 8 with GitHub Packages
20
+ - name : Setup JDK 8
21
21
uses : actions/setup-java@v3
22
22
with :
23
- distribution : ' temurin'
24
- java-version : ' 8 '
23
+ distribution : temurin
24
+ java-version : 8
25
25
server-id : github
26
26
settings-path : ${{ github.workspace }}
27
- cache : maven # Enables dependency caching
27
+ cache : maven
28
28
29
- - name : Cache Maven packages
30
- uses : actions/cache@v3
31
- with :
32
- path : ~/.m2/repository
33
- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
34
- restore-keys : |
35
- ${{ runner.os }}-maven-
36
-
37
- - name : Build with Maven
38
- run : mvn clean package -DskipTests
39
-
40
- - name : Publish to GitHub Packages
41
- run : mvn deploy -DskipTests --settings ${{ github.workspace }}/settings.xml
29
+ - name : Deploy Jar Only (no sources, docs)
30
+ run : mvn deploy -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/payment-components/rest-sdk-wrapper --settings ${{ github.workspace }}/settings.xml
42
31
env :
43
32
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments