Skip to content

Commit

Permalink
Remove .m2 cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Dec 16, 2020
1 parent 241a5d6 commit 8e2a021
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ jobs:
server-id: sonatype-nexus
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- id: cache-m2
name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- id: show-environment
name: Show environment
run: |
Expand All @@ -43,8 +36,6 @@ jobs:
echo github.sha: ${{ github.sha }}
mvn -v
cat ~/.m2/settings.xml
echo "Generated settings.xml"
cat $GITHUB_WORKSPACE/settings.xml
# CREATE GITHUB RELEASE AND ADD ASSETS
- id: create-release
Expand Down Expand Up @@ -86,5 +77,4 @@ jobs:
-Dmaven.javadoc.skip=false \
-Dskip.signing.artifacts=false \
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
-s $GITHUB_WORKSPACE/settings.xml \
clean deploy

0 comments on commit 8e2a021

Please sign in to comment.