Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbalakirev authored Aug 28, 2024
1 parent b7d9c30 commit 87c81bb
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,21 +125,10 @@ jobs:
<servers>
<server>
<id>central</id>
<username>${{ secrets.OSSRH_USERNAME }}</username>
<username>${{ vars.OSSRH_USERNAME }}</username>
<password>${{ secrets.OSSRH_PASSWORD }}</password>
</server>
</servers>
<profiles>
<profile>
<id>release</id>
<properties>
<gpg.version>2.2.27</gpg.version>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>release</activeProfile>
</activeProfiles>
</settings>' > ~/.m2/settings.xml
- name: Setup Java
uses: actions/setup-java@v4
Expand All @@ -166,8 +155,6 @@ jobs:
- name: Deploy to Maven Central
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
run: mvn deploy -DskipTests -DskipInstall -P release --settings ~/.m2/settings.xml
run: mvn deploy -DskipTests -P release --settings ~/.m2/settings.xml

0 comments on commit 87c81bb

Please sign in to comment.