Skip to content

Commit 8b9209b

Browse files
committed
Remove Travis-CI
1 parent f9cf9dc commit 8b9209b

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

.github/workflows/maven-snapshot.yml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,24 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
17-
- name: Set up JDK 11
18-
uses: actions/setup-java@v2
19-
with:
20-
java-version: '11'
21-
distribution: 'adopt'
22-
- name: Build with Maven
23-
run: mvn -B package --file pom.xml
16+
- uses: actions/checkout@v2
17+
- name: Set up JDK 11
18+
uses: actions/setup-java@v2
19+
with:
20+
java-version: '11'
21+
distribution: 'adopt'
22+
- name: Build with Maven
23+
run: mvn -B package --file pom.xml
24+
25+
- name: Generate Maven settings
26+
27+
with:
28+
servers: |
29+
[{
30+
"id": "ossrh",
31+
"username": "${{ secrets.CI_DEPLOY_USERNAME }}",
32+
"password": "${{ secrets.CI_DEPLOY_PASSWORD }}"
33+
}]
34+
35+
- name: Deploy Maven Snapshot
36+
run: mvn deploy -s /home/runner/.m2/settings.xml

0 commit comments

Comments
 (0)