Skip to content

Commit

Permalink
Migrated github actions gradle executions to accessToken auth
Browse files Browse the repository at this point in the history
  • Loading branch information
ribafish committed Jun 20, 2024
1 parent 337de91 commit c62d8c3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/gradle-data-capturing-samples-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,21 @@ jobs:
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/gradle-build-action@v3
with:
develocity-access-key: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
- name: Inject data capture script into Gradle build using Groovy DSL
working-directory: common-develocity-gradle-configuration-groovy
run: |
# apply sample file
echo "apply from: file(\"../build-data-capturing-gradle-samples/${{matrix.sample-file}}\")" >> build.gradle
- name: Run Gradle build using Groovy DSL
working-directory: common-develocity-gradle-configuration-groovy
run: ./gradlew tasks -Dgradle.enterprise.url=https://ge.solutions-team.gradle.com
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
run: ./gradlew tasks -Ddevelocity.url=https://ge.solutions-team.gradle.com
- name: Inject data capture script into Gradle build using Kotlin DSL
working-directory: common-develocity-gradle-configuration-kotlin
run: |
# apply sample file
echo "apply(from = \"../build-data-capturing-gradle-samples/${{matrix.sample-file}}.kts\")" >> build.gradle.kts
- name: Run Gradle build using Kotlin DSL
working-directory: common-develocity-gradle-configuration-kotlin
run: ./gradlew tasks -Dgradle.enterprise.url=https://ge.solutions-team.gradle.com
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}
run: ./gradlew tasks -Ddevelocity.url=https://ge.solutions-team.gradle.com

0 comments on commit c62d8c3

Please sign in to comment.