From 251273de45904cba5c359394cf06df149437eabb 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a73f3d7..4734dfe 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 @@ -159,4 +159,4 @@ jobs: uses: kestra-io/actions/.github/actions/send-ci-failed@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} \ No newline at end of file + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}