Skip to content

Commit 3fd446f

Browse files
dkrasnoffzwiora
authored andcommitted
Added running build with dev repository for kotlin-community/* branches
1 parent 2467e03 commit 3fd446f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/gradle.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ jobs:
3131
- name: Setup Gradle
3232
uses: gradle/actions/setup-gradle@v4
3333
- name: Build with Gradle
34-
run: ./gradlew build
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

0 commit comments

Comments
 (0)