Fix environment variables passed to Gradle again

This commit is contained in:
comp500 2022-07-16 17:19:24 +01:00
parent 4115ea2a3a
commit 6bb360f8e3
2 changed files with 4 additions and 4 deletions

View File

@ -22,8 +22,8 @@ jobs:
- name: Publish with Gradle - name: Publish with Gradle
run: ./gradlew publish run: ./gradlew publish
env: env:
ORG_GRADLE_PROJECT_github_token: ${{ Secrets.GITHUB_TOKEN }} ORG_GRADLE_PROJECT_github.token: ${{ Secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_bunnycdn_token: ${{ Secrets.BUNNYCDN_TOKEN }} ORG_GRADLE_PROJECT_bunnycdn.token: ${{ Secrets.BUNNYCDN_TOKEN }}
ORG_GRADLE_PROJECT_release: true ORG_GRADLE_PROJECT_release: true
- name: Cleanup Gradle Cache - name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions. # Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.

View File

@ -19,8 +19,8 @@ jobs:
- name: Publish with Gradle - name: Publish with Gradle
run: ./gradlew publish run: ./gradlew publish
env: env:
ORG_GRADLE_PROJECT_github_token: ${{ Secrets.GITHUB_TOKEN }} ORG_GRADLE_PROJECT_github.token: ${{ Secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_bunnycdn_token: ${{ Secrets.BUNNYCDN_TOKEN }} ORG_GRADLE_PROJECT_bunnycdn.token: ${{ Secrets.BUNNYCDN_TOKEN }}
- name: Cleanup Gradle Cache - name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions. # 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. # Restoring these files from a GitHub Actions cache might cause problems for future builds.