diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64046ea..58757cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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. diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 7b9e044..3dbf530 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -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.