Skip to content

Commit

Permalink
Enabled setting access token on GHA
Browse files Browse the repository at this point in the history
Signed-off-by: Gasper Kojek <[email protected]>
  • Loading branch information
ribafish committed Jul 31, 2024
1 parent a9764ec commit 9a4bab9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/actions/setup-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ runs:

- name: 'Setup Gradle'
uses: gradle/actions/setup-gradle@v3
with:
develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}

- name: Setup Git user
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wrapper-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ jobs:

- name: 'Setup Gradle'
uses: gradle/actions/setup-gradle@v3
with:
develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}

- name: 'Upgrade Gradle wrapper'
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
WRAPPER_UPGRADE_GIT_TOKEN: ${{ secrets.GH_BOT_GITHUB_TOKEN }}
run: ./gradlew clean upgradeGradleWrapperAll --no-build-cache

0 comments on commit 9a4bab9

Please sign in to comment.