mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-04-18 20:46:30 +02:00
Fix environment variables passed to Gradle
This commit is contained in:
parent
d4e41ad85e
commit
4115ea2a3a
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -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.
|
||||
|
4
.github/workflows/snapshot.yml
vendored
4
.github/workflows/snapshot.yml
vendored
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user