From 09ff2485094122f74eafc3b2dbfc4c14c552bf93 Mon Sep 17 00:00:00 2001 From: micronaut-build Date: Tue, 21 Sep 2021 08:47:35 +0000 Subject: [PATCH] Update common files --- .github/workflows/central-sync.yml | 1 + .github/workflows/dependency-update.yml | 4 +++- .github/workflows/graalvm.yml | 1 + .github/workflows/gradle.yml | 2 ++ .github/workflows/publish-snapshot.yml | 1 + .github/workflows/release.yml | 2 ++ 6 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/central-sync.yml b/.github/workflows/central-sync.yml index 0c6fd36df..594d75dd0 100644 --- a/.github/workflows/central-sync.yml +++ b/.github/workflows/central-sync.yml @@ -31,6 +31,7 @@ jobs: GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }} GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} GPG_FILE: ${{ secrets.GPG_FILE }} + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} run: | echo $GPG_FILE | base64 -d > secring.gpg ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository diff --git a/.github/workflows/dependency-update.yml b/.github/workflows/dependency-update.yml index 27e302fab..ce8e21c1c 100644 --- a/.github/workflows/dependency-update.yml +++ b/.github/workflows/dependency-update.yml @@ -26,6 +26,8 @@ jobs: - name: Export Gradle Properties uses: micronaut-projects/github-actions/export-gradle-properties@master - name: Check Dependencies + env: + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} run: ./gradlew useLatestVersions - name: Create Pull Request uses: peter-evans/create-pull-request@v3.10.1 @@ -37,4 +39,4 @@ jobs: title: 'Dependency upgrades' body: Upgrades dependencies to their latest versions labels: "type: dependency-upgrade" - branch: dependency-updates \ No newline at end of file + branch: dependency-updates diff --git a/.github/workflows/graalvm.yml b/.github/workflows/graalvm.yml index 4de48f062..0b12f547b 100644 --- a/.github/workflows/graalvm.yml +++ b/.github/workflows/graalvm.yml @@ -52,6 +52,7 @@ jobs: fi env: TESTCONTAINERS_RYUK_DISABLED: true + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} - name: Publish Test Report if: always() uses: mikepenz/action-junit-report@v2 diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6ebcd2b5f..704347c25 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -50,6 +50,7 @@ jobs: ./gradlew dependencyUpdates check --no-daemon --parallel --continue env: TESTCONTAINERS_RYUK_DISABLED: true + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} - name: Publish Test Report if: always() uses: mikepenz/action-junit-report@v2 @@ -61,6 +62,7 @@ jobs: env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} run: ./gradlew publishToSonatype docs --no-daemon - name: Determine docs target repository uses: haya14busa/action-cond@v1 diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 96c2c2c34..e05478126 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -27,4 +27,5 @@ jobs: env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} run: ./gradlew publishToSonatype --no-daemon diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42c206b41..fd2d351ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,7 @@ jobs: GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }} GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} GPG_FILE: ${{ secrets.GPG_FILE }} + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} run: | echo $GPG_FILE | base64 -d > secring.gpg ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository @@ -53,6 +54,7 @@ jobs: BRANCH: gh-pages FOLDER: build/docs VERSION: ${{ steps.release_version.outputs.release_version }} + GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} - name: Checkout micronaut-core uses: actions/checkout@v2 with: