Skip to content

Commit 2eba93d

Browse files
committed
ci: Do not use Konan cache on Linux
1 parent 49ddd6a commit 2eba93d

File tree

4 files changed

+2
-16
lines changed

4 files changed

+2
-16
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,10 @@ jobs:
2323
include:
2424
- os: macos-latest
2525
TEST_TASK: macosArm64Test
26-
ADDITIONAL_FLAGS: ''
2726
- os: windows-latest
2827
TEST_TASK: mingwX64Test
29-
ADDITIONAL_FLAGS: ''
3028
- os: ubuntu-latest
3129
TEST_TASK: check
32-
ADDITIONAL_FLAGS: '-Dkotlin.native.cacheKind.linuxX64=none'
3330
runs-on: ${{ matrix.os }}
3431
continue-on-error: ${{ matrix.os != 'ubuntu-latest' }}
3532
timeout-minutes: 40
@@ -46,11 +43,12 @@ jobs:
4643
- name: Setup gradle
4744
uses: gradle/actions/setup-gradle@v4
4845
- name: Konan cache
46+
if: matrix.os != 'ubuntu-latest'
4947
uses: ./.github/actions/konan-cache
5048
with:
5149
job-type: 'test'
5250
- name: Check
53-
run: ./gradlew ${{matrix.TEST_TASK}} --stacktrace --no-configuration-cache -PfromForkedPullRequest=${{github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository}} ${{matrix.ADDITIONAL_FLAGS}}
51+
run: ./gradlew ${{matrix.TEST_TASK}} --stacktrace --no-configuration-cache -PfromForkedPullRequest=${{github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository}}
5452
env:
5553
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.MAVEN_CENTRAL_SIGNING_PRIVATE_KEY }}
5654
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.MAVEN_CENTRAL_SIGNING_KEY_PASSWORD }}

.github/workflows/checkUpdates.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ jobs:
2121
uses: gradle/actions/setup-gradle@v4
2222
with:
2323
add-job-summary: 'never'
24-
- name: Konan cache
25-
uses: ./.github/actions/konan-cache
26-
with:
27-
job-type: 'run'
2824
- name: Check updates
2925
run: ./gradlew :cli:runJvm --no-configuration-cache --stacktrace --args="-t markdown"
3026
- name: Update summary

.github/workflows/publish-snapshots.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ jobs:
2424
distribution: 'temurin'
2525
- name: Setup gradle
2626
uses: gradle/actions/setup-gradle@v4
27-
- name: Konan cache
28-
uses: ./.github/actions/konan-cache
29-
with:
30-
job-type: 'publish'
3127
- name: Publish snapshots
3228
run: ./gradlew publishAllPublicationsToMavenCentralRepository --stacktrace --no-configuration-cache
3329
env:

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ jobs:
7171
distribution: 'temurin'
7272
- name: Setup gradle
7373
uses: gradle/actions/setup-gradle@v4
74-
- name: Konan cache
75-
uses: ./.github/actions/konan-cache
76-
with:
77-
job-type: 'publish'
7874
- name: Publish to Maven Central and Gradle Plugin Portal
7975
run: ./gradlew :core:publishAndReleaseToMavenCentral :gradle-plugin:publishPlugins --stacktrace --no-configuration-cache
8076
env:

0 commit comments

Comments
 (0)