Skip to content

Commit 647fe6d

Browse files
authored
Merge pull request #47 from ericwcc/fix_github_action_env
Fix github action environment
2 parents edb0c4d + a8ad21b commit 647fe6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ 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 }}
1714
- name: install
1815
run: mvn --settings .github/workflows/mvnsettings.xml install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
1916
- name: deploy
17+
env:
18+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
19+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
2020
run: .github/workflows/deploy.sh

0 commit comments

Comments
 (0)