Skip to content

Commit

Permalink
Run the publish task on macos so that mac related binaries are actual…
Browse files Browse the repository at this point in the history
…ly published
  • Loading branch information
Drew Heavner committed Aug 16, 2024
1 parent cd3e2a9 commit 903824d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ jobs:
**/build/reports/**
publish:
runs-on: ubuntu-latest
runs-on: macos-latest
timeout-minutes: 60
needs: [ build ]
if: github.repository == 'r0adkll/kimchi' && github.ref == 'refs/heads/main'

Expand All @@ -70,4 +71,4 @@ jobs:
uses: gradle/actions/setup-gradle@v4

- name: Publish snapshot (main branch only)
run: ./gradlew publish -PmavenCentralUsername=${{ secrets.SONATYPEUSERNAME }} -PmavenCentralPassword=${{ secrets.SONATYPEPASSWORD }} --no-configuration-cache --quiet
run: ./gradlew publish -PmavenCentralUsername=${{ secrets.SONATYPEUSERNAME }} -PmavenCentralPassword=${{ secrets.SONATYPEPASSWORD }} --no-configuration-cache

0 comments on commit 903824d

Please sign in to comment.