Skip to content

Commit

Permalink
fix: maven publish error
Browse files Browse the repository at this point in the history
  • Loading branch information
anwarpro committed Oct 6, 2024
1 parent 4c6f38f commit cff38b5
Showing 1 changed file with 11 additions and 22 deletions.
33 changes: 11 additions & 22 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,7 @@ permissions:

jobs:
build:
strategy:
matrix:
include:
# - target: iosSimulatorArm64Test
# os: macos-latest
# - target: jvmTest
# os: ubuntu-latest
# - target: linuxX64Test
# os: ubuntu-latest
# - target: testDebugUnitTest
# os: ubuntu-latest
- target: test
os: ubuntu-latest
runs-on: ${{ matrix.os }}

runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Validate Gradle Wrapper
Expand All @@ -42,13 +28,16 @@ jobs:
with:
path: |
~/.konan
key: ${{ runner.os }}-${{ hashFiles('**/.lock') }}
- name: Set up JDK 17
uses: actions/setup-java@v3
key: macos-latest-${{ hashFiles('**/.lock') }}
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build with Gradle
uses: gradle/gradle-build-action@ce999babab2de1c4b649dc15f0ee67e6246c994f
with:
arguments: ${{ matrix.target }}
run: |
./gradlew test

0 comments on commit cff38b5

Please sign in to comment.