From e902af93482db5181880bb0028d41fa67ad65b2c Mon Sep 17 00:00:00 2001 From: Ludovic DEHON Date: Fri, 25 Oct 2024 22:36:56 +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 46fd7cb..3eeda8a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,7 +82,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 @@ -94,7 +94,7 @@ jobs: - name: 'Copy jacoco files' if: ${{ env.GOOGLE_SERVICE_ACCOUNT != 0 }} run: | - 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