Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Jun 6, 2024
1 parent 8df8bb7 commit 39c715d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ concurrency:

jobs:
build:
name: "Build / KSP2 = ${{ matrix.useKSP2 }}"
name: "Build"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
useKSP2: [true, false]

steps:
- name: Checkout
Expand All @@ -42,8 +38,8 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Test
run: ./gradlew check -Pksp.useKSP2=${{ matrix.useKSP2 }}
run: ./gradlew check

- name: Publish (default branch only)
if: github.repository == 'slackhq/EitherNet' && github.ref == 'refs/heads/main' && matrix.useKSP2 == 'false'
if: github.repository == 'slackhq/EitherNet' && github.ref == 'refs/heads/main'
run: ./gradlew publish -PmavenCentralUsername=${{ secrets.SONATYPEUSERNAME }} -PmavenCentralPassword=${{ secrets.SONATYPEPASSWORD }}

0 comments on commit 39c715d

Please sign in to comment.