We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132478a commit a45da11Copy full SHA for a45da11
.github/workflows/maven.yml
@@ -7,8 +7,14 @@ on:
7
- 'docs/**'
8
- '.circleci/**'
9
- '.github/**'
10
+
11
+env:
12
+ OSS_USERNAME: ${{ secrets.OSS_USERNAME }}
13
+ OSS_PASSWORD: ${{ secrets.OSS_PASSWORD }}
14
15
jobs:
16
build:
17
+ name: Build on JDK ${{ matrix.java_version }}
18
runs-on: 'ubuntu-latest'
19
strategy:
20
fail-fast: false
@@ -22,6 +28,10 @@ jobs:
22
28
uses: actions/setup-java@v1
23
29
with:
24
30
java-version: ${{ matrix.java_version }}
31
+ # Value of the distributionManagement/repository/id field of the pom.xml
32
+ server-id: sonatype-nexus-snapshots
33
+ server-username: OSS_USERNAME
34
+ server-password: OSS_PASSWORD
25
35
- uses: actions/cache@v2.1.2
26
36
27
37
path: ~/.m2/repository
0 commit comments