Skip to content

Commit

Permalink
cleaning up java.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
affonsov committed Jun 29, 2024
1 parent 644b0a9 commit e7394d7
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,9 @@ jobs:
with:
redis-version: ${{ matrix.redis }}

- name: Create secret key ring file
working-directory: java/client
run: |
echo "$SECRING_GPG" | base64 --decode > ./secring.gpg
ls -ltr
env:
SECRING_GPG: ${{ secrets.SECRING_GPG }}

- name: Build java client
working-directory: java
run: ./gradlew --continue build :client:publishToMavenLocal -Psigning.secretKeyRingFile=secring.gpg -Psigning.password="${{ secrets.GPG_PASSWORD }}" -Psigning.keyId=${{ secrets.GPG_KEY_ID }}
run: ./gradlew --continue build

- name: Ensure no skipped files by linter
working-directory: java
Expand Down Expand Up @@ -172,17 +164,9 @@ jobs:
working-directory: java
run: cargo build --release

- name: Create secret key ring file
working-directory: java/client
run: |
echo "$SECRING_GPG" | base64 --decode > ./secring.gpg
ls -ltr
env:
SECRING_GPG: ${{ secrets.SECRING_GPG }}

- name: Build java part
working-directory: java
run: ./gradlew --continue build :client:publishToMavenLocal -Psigning.secretKeyRingFile=secring.gpg -Psigning.password="${{ secrets.GPG_PASSWORD }}" -Psigning.keyId=${{ secrets.GPG_KEY_ID }}
run: ./gradlew --continue build

- name: Upload test reports
if: always()
Expand Down

0 comments on commit e7394d7

Please sign in to comment.