Skip to content

Commit

Permalink
Remove useless github action step (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruhan1 authored Jun 26, 2024
1 parent 3032a22 commit e7852b9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/merge-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,11 @@ jobs:
if: ${{ github.event.repository.fork == false }}
with:
repositories: '[{ "id": "sonatype", "url": "https://oss.sonatype.org/content/repositories/snapshots/", "releases": {"enabled": "false"}, "snapshots": {"enabled": "true" }}]'
servers: '[{ "id": "sonatype", "username": "${{ secrets.SONATYPE_BOT_USERNAME}}", "password": "${{ secrets.SONATYPE_BOT_TOKEN}}" }]'

- name: "Maven Verify"
if: ${{ github.event.repository.fork == true }}
run: mvn -B -e verify

- name: "Maven Build & Deploy Snapshot to Sonatype OSSRH"
if: ${{ github.event.repository.fork == false }}
run: mvn -B -e deploy -DaltDeploymentRepository=sonatype::default::https://oss.sonatype.org/content/repositories/snapshots/

- name: Checkout tools repo
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit e7852b9

Please sign in to comment.