Skip to content

Commit ba852d2

Browse files
author
ericchung
committed
export secrets as environment variables
1 parent 3ee4193 commit ba852d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
- uses: actions/setup-java@v1
1212
with:
1313
java-version: 8
14+
env:
15+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
16+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
1417
- name: install
1518
run: mvn --settings .github/workflows/mvnsettings.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
1619
- name: deploy

0 commit comments

Comments
 (0)