Skip to content

Commit

Permalink
build(:gha): update Nexus token
Browse files Browse the repository at this point in the history
  • Loading branch information
zero88 committed Aug 5, 2024
1 parent b4c26a9 commit f7ca0f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 75 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ jobs:
run: |
args=( -Pversion=${{ needs.context.outputs.version }} \
-PsemanticVersion=${{ needs.context.outputs.semanticVersion }} \
-Pnexus.username=${{ secrets.OSS_NEXUS_USER }} \
-Pnexus.password=${{ secrets.OSS_NEXUS_TOKEN }} )
-Pnexus.username=${{ secrets.ORG_NEXUS_USER }} \
-Pnexus.password=${{ secrets.ORG_NEXUS_TOKEN }} )
./gradlew publish "${args[@]}"
analysis:
Expand All @@ -123,9 +123,6 @@ jobs:
key: ${{ runner.os }}-sonar-qwe
restore-keys: ${{ runner.os }}-sonar-qwe

- name: Generate jOOQ
run: ./generateJooq.sh

- name: Test
if: env.ENABLE_TEST == 'true'
run: ./gradlew test jacocoTestReport -PjacocoHtml=false
Expand Down Expand Up @@ -179,8 +176,8 @@ jobs:
-Psigning.gnupg.homeDir=/home/runner/.gnupg \
-Psigning.gnupg.keyName=${{ steps.import_gpg.outputs.keyid }} \
-Psigning.gnupg.passphrase=${{ secrets.OSS_GPG_PASSPHARSE }} \
-Pnexus.username=${{ secrets.OSS_NEXUS_USER }} \
-Pnexus.password=${{ secrets.OSS_NEXUS_TOKEN }} )
-Pnexus.username=${{ secrets.ORG_NEXUS_USER }} \
-Pnexus.password=${{ secrets.ORG_NEXUS_TOKEN }} )
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease "${args[@]}"
- name: Publish GitHub Package
Expand Down
46 changes: 0 additions & 46 deletions generateJooq.ps1

This file was deleted.

22 changes: 0 additions & 22 deletions generateJooq.sh

This file was deleted.

0 comments on commit f7ca0f2

Please sign in to comment.