diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a609050e..3dfcf157 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,23 +8,23 @@ jobs: gradle: runs-on: macos-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 - with: - distribution: temurin - java-version: 8 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 8 - - name: Gradle build - uses: gradle/gradle-build-action@v2 - with: - arguments: build -x iosX64Test -x jsBrowserTest + - name: Gradle build + uses: gradle/gradle-build-action@v2 + with: + arguments: build -x iosX64Test -x jsBrowserTest - - name: Publish to SNAPSHOT - uses: gradle/gradle-build-action@v2 - env: - SIGNING_KEY: ${{ secrets.SIGNING_KEY }} - SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - with: - arguments: publishAllPublicationsToSonatypeRepository --max-workers 1 + - name: Publish to SNAPSHOT + uses: gradle/gradle-build-action@v2 + env: + SIGNING_KEY: ${{ secrets.SIGNING_KEY }} + SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + with: + arguments: publishAllPublicationsToSonatypeRepository --max-workers 1 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5121e2fb..36a586f9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,3 +1,4 @@ +--- name: Run Gradle PR on: [pull_request] @@ -5,13 +6,13 @@ jobs: gradle: runs-on: macos-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 - with: - distribution: temurin - java-version: 8 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 8 - - name: Gradle build - uses: gradle/gradle-build-action@v2 - with: - arguments: build -x iosX64Test -x jsBrowserTest + - name: Gradle build + uses: gradle/gradle-build-action@v2 + with: + arguments: build -x iosX64Test -x jsBrowserTest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9f761ce..0cd2fe06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,8 @@ +--- name: Run Gradle Push on: release: - types: [ released ] + types: [released] jobs: gradle: