Fix environment variables passed to Gradle

This commit is contained in:
comp500 2022-07-16 17:16:16 +01:00
parent d4e41ad85e
commit 4115ea2a3a
2 changed files with 5 additions and 5 deletions

View File

@ -22,9 +22,9 @@ jobs:
- name: Publish with Gradle
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ Secrets.GITHUB_TOKEN }}
BUNNYCDN_TOKEN: ${{ Secrets.BUNNYCDN_TOKEN }}
RELEASE: true
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.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.

View File

@ -19,8 +19,8 @@ jobs:
- name: Publish with Gradle
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ Secrets.GITHUB_TOKEN }}
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.