From 97fd4ee8358afef6a99a84d74e6976936cf6635f Mon Sep 17 00:00:00 2001 From: Houssem Ben Ali Date: Fri, 6 Dec 2024 10:05:26 +0100 Subject: [PATCH] SWF: Migration PR Build workflow to exo-actions/pr-action action (#27) --- .github/workflows/buildci.yml | 12 ------------ .github/workflows/prbuild.yml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 12 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 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