diff --git a/.github/workflows/buildci.yml b/.github/workflows/buildci.yml deleted file mode 100644 index bc3de9be..00000000 --- a/.github/workflows/buildci.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: CI PR Build -on: - pull_request: -jobs: - build-ci: - name: CI Build - uses: exoplatform/swf-scripts/.github/workflows/cibuild.yml@master - with: - maven_profiles: 'exo-release,coverage' - jdk_major_version: 21 - secrets: - NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} - NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} \ No newline at end of file diff --git a/.github/workflows/prbuild.yml b/.github/workflows/prbuild.yml new file mode 100644 index 00000000..7b6154be --- /dev/null +++ b/.github/workflows/prbuild.yml @@ -0,0 +1,19 @@ +name: PR Build +on: + pull_request: +jobs: + pr-build: + name: PR Build + runs-on: ubuntu-latest + timeout-minutes: 120 + permissions: + pull-requests: write + steps: + - name: PR Build + uses: exo-actions/pr-action@v1 + with: + maven_profiles: 'exo-release,coverage' + jdk_major_version: 21 + NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} + NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} + M2_SETTINGS_FILE_URL: ${{ vars.GHACI_SETTINGS_XML_URL }} \ No newline at end of file