diff --git a/.github/workflows/buildci.yml b/.github/workflows/buildci.yml deleted file mode 100644 index 1c31433d0..000000000 --- a/.github/workflows/buildci.yml +++ /dev/null @@ -1,12 +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' - 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 000000000..2ff76d8cc --- /dev/null +++ b/.github/workflows/prbuild.yml @@ -0,0 +1,18 @@ +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' + 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