Skip to content

Commit 8bb807c

Browse files
committed
chore(cicd): use a non branch version for test artifact
1 parent 36ee7d3 commit 8bb807c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ on:
2020
required: false
2121
type: string
2222
default: "false"
23-
2423
jobs:
2524
check:
2625
name: Check & Publish
@@ -50,7 +49,7 @@ jobs:
5049
java-version: 21
5150

5251
- name: Validate Gradle wrapper
53-
uses: gradle/actions/wrapper-validation@v3
52+
uses: gradle/actions/wrapper-validation@v4
5453

5554
# Gradle check
5655
- name: Build with Gradle
@@ -68,7 +67,7 @@ jobs:
6867
- uses: rlespinasse/github-slug-action@v4
6968

7069
- name: Publish allure report
71-
uses: andrcuns/allure-publish-action@v2.6.0
70+
uses: andrcuns/allure-publish-action@v2.7.1
7271
if: ${{ always() && env.GOOGLE_SERVICE_ACCOUNT != 0 && (github.event.inputs.skip-test == 'false' || github.event.inputs.skip-test == '') }}
7372
env:
7473
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -78,7 +77,7 @@ jobs:
7877
resultsGlob: build/allure-results
7978
bucket: internal-kestra-host
8079
baseUrl: "https://internal.kestra.io"
81-
prefix: ${{ format('{0}/{1}/{2}', github.repository, env.GITHUB_HEAD_REF_SLUG != '' && env.GITHUB_HEAD_REF_SLUG || github.ref_name, 'allure/java') }}
80+
prefix: ${{ format('{0}/{1}', github.repository, 'allure/java') }}
8281
copyLatest: true
8382
ignoreMissingResults: true
8483

@@ -90,7 +89,7 @@ jobs:
9089
- name: 'Copy jacoco files'
9190
if: ${{ env.GOOGLE_SERVICE_ACCOUNT != 0 }}
9291
run: |
93-
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') }}
92+
gsutil -m rsync -d -r build/reports/jacoco/test/ gs://internal-kestra-host/${{ format('{0}/{1}', github.repository, 'jacoco') }}
9493
9594
# Publish
9695
- name: Publish package to Sonatype
@@ -155,4 +154,4 @@ jobs:
155154
uses: kestra-io/actions/.github/actions/send-ci-failed@main
156155
env:
157156
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
157+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)