Skip to content

Commit

Permalink
Revert "cleaning up java.yml"
Browse files Browse the repository at this point in the history
This reverts commit e7394d7.
  • Loading branch information
affonsov committed Jun 29, 2024
1 parent ae7b23f commit 3f02add
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,17 @@ 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
run: ./gradlew --continue build :client:publishToMavenLocal -Psigning.secretKeyRingFile=secring.gpg -Psigning.password="${{ secrets.GPG_PASSWORD }}" -Psigning.keyId=${{ secrets.GPG_KEY_ID }}

- name: Ensure no skipped files by linter
working-directory: java
Expand Down Expand Up @@ -164,9 +172,17 @@ 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
run: ./gradlew --continue build :client:publishToMavenLocal -Psigning.secretKeyRingFile=secring.gpg -Psigning.password="${{ secrets.GPG_PASSWORD }}" -Psigning.keyId=${{ secrets.GPG_KEY_ID }}

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

0 comments on commit 3f02add

Please sign in to comment.