From 6bb360f8e388647d2551e2e34f8d834d80297afe Mon Sep 17 00:00:00 2001 From: comp500 Date: Sat, 16 Jul 2022 17:19:24 +0100 Subject: [PATCH] Fix environment variables passed to Gradle again --- .github/workflows/release.yml | 4 ++-- .github/workflows/snapshot.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 58757cc..fdf6d1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,8 @@ jobs: - name: Publish with Gradle run: ./gradlew publish env: - ORG_GRADLE_PROJECT_github_token: ${{ Secrets.GITHUB_TOKEN }} - ORG_GRADLE_PROJECT_bunnycdn_token: ${{ Secrets.BUNNYCDN_TOKEN }} + ORG_GRADLE_PROJECT_github.token: ${{ Secrets.GITHUB_TOKEN }} + ORG_GRADLE_PROJECT_bunnycdn.token: ${{ Secrets.BUNNYCDN_TOKEN }} ORG_GRADLE_PROJECT_release: true - name: Cleanup Gradle Cache # Remove some files from the Gradle cache, so they aren't cached by GitHub Actions. diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 3dbf530..1c75712 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -19,8 +19,8 @@ jobs: - name: Publish with Gradle run: ./gradlew publish env: - ORG_GRADLE_PROJECT_github_token: ${{ Secrets.GITHUB_TOKEN }} - ORG_GRADLE_PROJECT_bunnycdn_token: ${{ Secrets.BUNNYCDN_TOKEN }} + ORG_GRADLE_PROJECT_github.token: ${{ Secrets.GITHUB_TOKEN }} + ORG_GRADLE_PROJECT_bunnycdn.token: ${{ Secrets.BUNNYCDN_TOKEN }} - name: Cleanup Gradle Cache # Remove some files from the Gradle cache, so they aren't cached by GitHub Actions. # Restoring these files from a GitHub Actions cache might cause problems for future builds.