From 8d6bd3c5c7f052aacadf4cc198735793c4696931 Mon Sep 17 00:00:00 2001 From: AEkaterina Date: Fri, 6 Oct 2023 13:27:01 +0400 Subject: [PATCH] updated maven --- .github/workflows/maven.yml | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f026254..71ddda5 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -49,6 +49,22 @@ jobs: + - name: Generate Allure report + run: | + mkdir allure-results + cp -R target/allure-results allure-results + allure generate allure-results --clean -o allure-report + working-directory: ${{ github.workspace }} + + - name: Upload Allure report artifacts + uses: actions/upload-artifact@v2 + with: + name: allure-report + path: allure-report + + + + # - name: Upload Report # if: success() # uses: actions/upload-artifact@v2 @@ -74,15 +90,16 @@ jobs: - - name: Generate Allure Report - uses: AEkaterina/action-allure-report@v0.1.1 - if: success() || failure() - - name: Upload report - uses: actions/upload-artifact@v3 - with: - name: allure-report - path: allure-report/ - if: success() || failure() +# - name: Generate Allure Report +# uses: AEkaterina/action-allure-report@v0.1.1 +# if: success() || failure() +# +# - name: Upload report +# uses: actions/upload-artifact@v3 +# with: +# name: allure-report +# path: allure-report/ +# if: success() || failure() # - name: Get Allure history # uses: actions/checkout@v3