From 4357558e839da36160ca211a3939a60e57799a87 Mon Sep 17 00:00:00 2001 From: RockyKumar2020 <118820511+RockyKumar2020@users.noreply.github.com> Date: Tue, 7 Nov 2023 13:10:29 +0530 Subject: [PATCH] Add workflow project1/RockyKumar2020.pipelines-java --- .../rockykumar2020.pipelines-java.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/rockykumar2020.pipelines-java.yml diff --git a/.github/workflows/rockykumar2020.pipelines-java.yml b/.github/workflows/rockykumar2020.pipelines-java.yml new file mode 100644 index 000000000..149c08744 --- /dev/null +++ b/.github/workflows/rockykumar2020.pipelines-java.yml @@ -0,0 +1,28 @@ +name: project1/RockyKumar2020.pipelines-java +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4.1.0 + - name: Setup Java 8 + uses: actions/setup-java@v3.13.0 + with: + distribution: zulu + java-version: '8' + - name: Run maven + run: mvn --file pom.xml package + env: + MAVEN_OPTS: "-Xmx3072m" + - name: Publish test results + uses: EnricoMi/publish-unit-test-result-action@v2.11.0 + if: always() + with: + junit_files: "**/surefire-reports/TEST-*.xml"