Skip to content

Commit

Permalink
ci(java-sdk-test and java-sdk-release): reviewed workflows to support…
Browse files Browse the repository at this point in the history
… maven central repo for cnr
  • Loading branch information
AsifNawaz-cnic committed Sep 20, 2024
1 parent 975f6a4 commit 9f1cc4f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/java-sdk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.RTLDEV_MW_CI_TOKEN }}
MAVEN_OPTS: ${{ vars.MAVEN_OPTS }}
OSSRH_JIRA_USERNAME: ${{ secrets.OSSRH_JIRA_USERNAME }}
OSSRH_JIRA_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }}
CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
ENCRYPTED_C9F9AEDF26B7_KEY: ${{ secrets.ENCRYPTED_C9F9AEDF26B7_KEY }}
ENCRYPTED_C9F9AEDF26B7_IV: ${{ secrets.ENCRYPTED_C9F9AEDF26B7_IV }}
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/java-sdk-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,20 @@ jobs:
- name: Maven version
run: mvn --version
- name: Validate & Coverage Report
env:
CNR_TEST_USER: ${{ secrets.RTLDEV_MW_CI_USER_CNR }}
CNR_TEST_PASSWORD: ${{ secrets.RTLDEV_MW_CI_USERPASSWORD_CNR }}
run: |
mvn -B clean site package -Pdev
zip -r /home/runner/target.zip ./target
zip -r /home/runner/t
arget.zip ./target
- uses: actions/upload-artifact@v4
id: upload
with:
name: coverage-report-${{ matrix.java-version }}
path: ~/target.zip
retention-days: 1

dependabot:
needs:
- test_matrix
Expand Down

0 comments on commit 9f1cc4f

Please sign in to comment.