Skip to content

Commit

Permalink
test for speed up publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
uakihir0 committed Dec 29, 2023
1 parent 6b69914 commit e70f235
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ on:

jobs:
build:

runs-on: macos-latest

strategy:
matrix:
target:
- core
- stream

permissions:
contents: read
packages: write
Expand All @@ -23,12 +29,12 @@ jobs:
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.6.0
with:
arguments: build -x core:jvmTest
arguments: ${RUN_TARGET}:build -x core:jvmTest

- name: Publish to Repsy
uses: gradle/gradle-build-action@v2.6.0
with:
arguments: publish -x core:jvmTest
arguments: ${RUN_TARGET}:publish -x core:jvmTest
env:
USERNAME: ${{ secrets.REPSY_USERNAME }}
PASSWORD: ${{ secrets.REPSY_PASSWORD }}
7 changes: 6 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Gradle
org.gradle.jvmargs=-Xmx3g

# Kotlin
kotlin.code.style=official
kotlin.daemon.jvm.options=-Xmx2g
kotlin.daemon.jvm.options=-Xmx3g

0 comments on commit e70f235

Please sign in to comment.