Skip to content

Commit

Permalink
Fix: normalize the gradle version between build and publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
xethorn committed Jul 9, 2023
1 parent 169bb1e commit d4e2f55
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

publish:
name: Publish
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'cashapp/kfactories' }}
# if: ${{ github.ref == 'refs/heads/main' && github.repository == 'cashapp/kfactories' }}
runs-on: ubuntu-latest
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
Expand All @@ -34,7 +34,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v2.3.4
- uses: gradle/wrapper-validation-action@v1.0.4
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11

- name: Assign a version
run: |
Expand Down

0 comments on commit d4e2f55

Please sign in to comment.