don't error if .m2 dir exists

This commit is contained in:
Nick Minkler (Sleaker) 2020-08-02 13:39:27 -07:00
parent da54503395
commit 85bb95ac12

View File

@ -20,7 +20,7 @@ jobs:
env:
github_token: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir ~/.m2
mkdir -p ~/.m2
echo "<settings><servers><server><id>github</id><username>MilkBowl</username><password>${GITHUB_TOKEN}</password></server></servers></settings>" > ~/.m2/settings.xml
mvn -B javadoc:javadoc deploy
- name: Commit javadocs