| | |
| | | run: | |
| | | sudo apt-get update |
| | | sudo apt-get install -y rpm |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | with: |
| | | fetch-depth: 0 |
| | | submodules: recursive |
| | |
| | | done |
| | | echo "::warning title=Could not refresh the launcher binaries::$BRANCH kept moving under this job. Refresh opendj-server-legacy/lib/*.exe from the windows-exe-11 artifact of Build run ${RUN_ID} and commit them." |
| | | - name: Set up Java for publishing to Maven Central Repository OSS |
| | | uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 |
| | | uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1 |
| | | with: |
| | | java-version: ${{ github.event.workflow_run.head_branch == 'sustaining/4.10.x' && '8' || '11'}} |
| | | distribution: 'temurin' |
| | |
| | | server-username: MAVEN_USERNAME |
| | | server-password: MAVEN_PASSWORD |
| | | - name: Cache Maven packages |
| | | uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 |
| | | uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 |
| | | with: |
| | | path: ~/.m2/repository |
| | | key: ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }} |
| | |
| | | git config --global user.name "Open Identity Platform Community" |
| | | git config --global user.email "open-identity-platform-opendj@googlegroups.com" |
| | | cd .. |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | continue-on-error: true |
| | | with: |
| | | repository: ${{ github.repository }}.wiki |
| | |
| | | git commit -a -m "upload docs after deploy ${{ github.sha }}" |
| | | git push --quiet --force |
| | | |
| | | - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| | | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| | | continue-on-error: true |
| | | with: |
| | | repository: OpenIdentityPlatform/doc.openidentityplatform.org |