We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d125a commit 8fd7307Copy full SHA for 8fd7307
.github/workflows/gradle.yml
@@ -30,10 +30,9 @@ jobs:
30
run: chmod +x gradlew
31
- name: Setup Gradle
32
uses: gradle/actions/setup-gradle@v4
33
- - name: Build with Gradle
34
- run: |
35
- if [[ "${{ github.ref }}" == "refs/heads/kotlin-community/*" ]]; then
36
- ./gradlew build -Pkotlin_repo_url=https://redirector.kotlinlang.org/maven/dev
37
- else
38
- ./gradlew build
39
- fi
+ - name: Build with Gradle (kotlin-community)
+ if: startsWith(github.ref, 'refs/heads/kotlin-community/')
+ run: ./gradlew build -Pkotlin_repo_url=https://redirector.kotlinlang.org/maven/dev
+ - name: Build with Gradle (default)
+ if: "!startsWith(github.ref, 'refs/heads/kotlin-community/')"
+ run: ./gradlew build
0 commit comments