Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
yml referenced settings.xml, which does not exist.
  • Loading branch information
dsgrieve authored Aug 6, 2021
1 parent 6e1cdf1 commit a20d73c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,19 @@ jobs:
uses: actions/checkout@v2
with:
lfs: true

- name: Checkout LFS objects
run: git lfs checkout

- name: Configure Git user
run: |
git config user.email "actions@github.com"
git config user.name "GitHub Actions"
- name: Prepare the release
run: mvn -B release:prepare -DpushChanges=false --settings $GITHUB_WORKSPACE/settings.xml
run: mvn -B release:prepare -DpushChanges=false
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Perform the release
run: mvn -B release:perform -DlocalCheckout=true -Darguments="-DskipTests -Dmaven.javadoc.skip=true" --settings $GITHUB_WORKSPACE/settings.xml
run: mvn -B release:perform -DlocalCheckout=true -Darguments="-DskipTests -Dmaven.javadoc.skip=true"
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down

0 comments on commit a20d73c

Please sign in to comment.