From a5e882cee00a91b0dd0f537a4d6777bfdae0da10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Mikul=C3=A1=C5=A1ek?= Date: Mon, 8 Apr 2024 14:19:20 +0200 Subject: [PATCH] fix(ci): pass the secrets to check properly --- .github/workflows/check.yml | 5 +++++ .github/workflows/java-example-check.yml | 1 + .github/workflows/kotlin-example-check.yml | 1 + .github/workflows/loxone-client-check.yml | 1 + 4 files changed, 8 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 313389d..1118f31 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -9,6 +9,11 @@ on: type: string required: false default: '.' + secrets: + GRADLE_ENCRYPTION_KEY: + required: true + CODECOV_TOKEN: + required: false jobs: gradle-check: diff --git a/.github/workflows/java-example-check.yml b/.github/workflows/java-example-check.yml index e367e3e..4a5eace 100644 --- a/.github/workflows/java-example-check.yml +++ b/.github/workflows/java-example-check.yml @@ -11,3 +11,4 @@ jobs: uses: ./.github/workflows/check.yml with: projectDir: 'examples/java' + secrets: inherit diff --git a/.github/workflows/kotlin-example-check.yml b/.github/workflows/kotlin-example-check.yml index d57d42e..ee10124 100644 --- a/.github/workflows/kotlin-example-check.yml +++ b/.github/workflows/kotlin-example-check.yml @@ -11,3 +11,4 @@ jobs: uses: ./.github/workflows/check.yml with: projectDir: 'examples/kotlin' + secrets: inherit diff --git a/.github/workflows/loxone-client-check.yml b/.github/workflows/loxone-client-check.yml index 762cfa5..1a808c7 100644 --- a/.github/workflows/loxone-client-check.yml +++ b/.github/workflows/loxone-client-check.yml @@ -14,3 +14,4 @@ on: jobs: call-check: uses: ./.github/workflows/check.yml + secrets: inherit