From f91589a95d9641e73ec6159660ba84f7142ebf45 Mon Sep 17 00:00:00 2001 From: Jurjen Vorhauer Date: Mon, 12 Feb 2024 16:04:54 +0100 Subject: [PATCH] forgot environment vars. --- .github/workflows/gradle.yml | 7 ++++++- build.gradle.kts | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 435ffd4..59d3597 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -4,6 +4,10 @@ permissions: contents: read jobs: build: + env: + KONOMAS_JWT_SECRET: ${{ secrets.KONOMAS_JWT_SECRET }} + KONOMAS_SENTRY_DSN: ${{ secrets.KONOMAS_SENTRY_DSN }} + KONOMAS_SENTRY_TOKEN: ${{ secrets.KONOMAS_SENTRY_TOKEN }} runs-on: ubuntu-latest steps: - name: Checkout @@ -13,11 +17,12 @@ jobs: with: java-version: '21' distribution: 'temurin' + check-latest: true - name: Build with Gradle uses: gradle/gradle-build-action@v2 with: arguments: build jacocoTestReport - gradle-version: 8.5 + gradle-version: 8.6 - name: Upload coverage to CodeCov uses: codecov/codecov-action@v3 with: diff --git a/build.gradle.kts b/build.gradle.kts index 0813420..3920204 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -154,5 +154,3 @@ sentry { projectName = "konomas" authToken = System.getenv("KONOMAS_SENTRY_TOKEN") } - -// SENTRY_AUTH_TOKEN=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