From d4b7a890e38696ee6be02d3369d8c47cbf154f04 Mon Sep 17 00:00:00 2001 From: Houssem Ben Ali Date: Fri, 6 Dec 2024 10:26:33 +0100 Subject: [PATCH] SWF: Migration PR Build workflow to exo-actions/pr-action action --- .github/workflows/buildci.yml | 13 ------------- .github/workflows/prbuild.yml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 13 deletions(-) delete mode 100644 .github/workflows/buildci.yml create mode 100644 .github/workflows/prbuild.yml diff --git a/.github/workflows/buildci.yml b/.github/workflows/buildci.yml deleted file mode 100644 index bc3de9be0..000000000 --- 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 000000000..7b6154bed --- /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