Skip to content

Commit

Permalink
Update relevant workflows to create a Develocity short-lived access t…
Browse files Browse the repository at this point in the history
…oken
  • Loading branch information
erichaagdev committed Nov 6, 2024
1 parent f892f05 commit db3c72f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
java-version: '11'
distribution: 'temurin'

- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}

- run: ./gradlew build
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}
6 changes: 3 additions & 3 deletions .github/workflows/gradle-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
distribution: 'temurin'

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

- name: Generate reference script with version
run: ./gradlew promote -Pversion=${{ inputs.version }}
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}

- name: Commit & push changes
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down

0 comments on commit db3c72f

Please sign in to comment.