Skip to content

Commit

Permalink
Test commit as user
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy2003 committed Jun 20, 2024
1 parent 8bdbe11 commit b82988a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
run: echo "VERSION=$(./mvnw -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_ENV

- name: Build
run: ./mvnw -P release --batch-mode package
run: ./mvnw -P release -DskipTests --batch-mode package

- name: Update README.md
run: sed -i "s|<version>.*</version>|<version>${{ env.VERSION }}</version>|g" README.md

- name: Commit release POM and Tag
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
git config --local user.name "${{ github.actor }}"
git commit -m "Release ${{ env.VERSION }}" -a
git tag ${{ env.VERSION }}
Expand Down

0 comments on commit b82988a

Please sign in to comment.