From c49cc705cc5828f8702a83c517b540c409d711d0 Mon Sep 17 00:00:00 2001 From: Ludovic DEHON Date: Fri, 25 Oct 2024 22:36:53 +0200 Subject: [PATCH] chore(cicd): use a non branch version for test artifact --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ae2d38..d9cab9b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -78,7 +78,7 @@ jobs: resultsGlob: "**/build/allure-results" bucket: internal-kestra-host baseUrl: "https://internal.kestra.io" - prefix: ${{ format('{0}/{1}/{2}', github.repository, env.GITHUB_HEAD_REF_SLUG != '' && env.GITHUB_HEAD_REF_SLUG || github.ref_name, 'allure/java') }} + prefix: ${{ format('{0}/{1}', github.repository, 'allure/java') }} copyLatest: true ignoreMissingResults: true @@ -92,7 +92,7 @@ jobs: run: | mv build/reports/jacoco/testCodeCoverageReport build/reports/jacoco/test/ mv build/reports/jacoco/test/testCodeCoverageReport.xml build/reports/jacoco/jacocoTestReport.xml - gsutil -m rsync -d -r build/reports/jacoco/test/ gs://internal-kestra-host/${{ format('{0}/{1}/{2}', github.repository, env.GITHUB_HEAD_REF_SLUG != '' && env.GITHUB_HEAD_REF_SLUG || github.ref_name, 'jacoco') }} + gsutil -m rsync -d -r build/reports/jacoco/test/ gs://internal-kestra-host/${{ format('{0}/{1}', github.repository, env.GITHUB_HEAD_REF_SLUG != '' && env.GITHUB_HEAD_REF_SLUG || github.ref_name, 'jacoco') }} # Publish - name: Publish package to Sonatype