Skip to content

Commit

Permalink
Fix passing of repository username and password into verify
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Apr 18, 2024
1 parent e75c931 commit 9a589ea
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ jobs:
needs: build-and-stage-release
uses: ./.github/workflows/verify.yml
with:
repository-username: ${{ secrets.ARTIFACTORY_USERNAME }}
repository-password: ${{ secrets.ARTIFACTORY_PASSWORD }}
staging: true
version: ${{ needs.build-and-stage-release.outputs.version }}
secrets:
repository-username: ${{ secrets.ARTIFACTORY_USERNAME }}
repository-password: ${{ secrets.ARTIFACTORY_PASSWORD }}
sync-to-maven-central:
name: Sync to Maven Central
needs:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ on:
required: false
default: false
type: boolean
secrets:
repository-username:
required: false
type: string
repository-password:
required: false
type: string
jobs:
verify:
name: Verify
Expand Down Expand Up @@ -46,8 +53,8 @@ jobs:
RVT_VERSION: ${{ inputs.version }}
RVT_RELEASE_TYPE: oss
RVT_STAGING: ${{ inputs.staging }}
RVT_OSS_REPOSITORY_USERNAME: ${{ inputs.repository-username }}
RVT_OSS_REPOSITORY_PASSWORD: ${{ inputs.repository-password }}
RVT_OSS_REPOSITORY_USERNAME: ${{ secrets.repository-username }}
RVT_OSS_REPOSITORY_PASSWORD: ${{ secrets.repository-password }}
run: ./gradlew spring-boot-release-verification-tests:test
- name: Upload Build Reports on Failure
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 9a589ea

Please sign in to comment.