Skip to content

Commit

Permalink
Update setup-gradle invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Bethke committed Jun 12, 2024
1 parent 6ab2e1b commit 441b47f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
uses: ASzc/change-string-case-action@v6
with:
string: ${{ github.repository }}/cmcc-operator
- name: push
- name: setup gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: >
build test jib
- name: build nad push
run: >
./gradlew build test jib
-Djib.to.image=ghcr.io/${{ steps.repository.outputs.lowercase }}:${{github.ref_name}}
-Djib.to.tags=${{github.ref_name}},latest
-Djib.to.auth.username=${{ github.actor }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
java-version: 17
distribution: adopt
cache: gradle
- name: build
- name: setup gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: build test --scan
- name: build
run: ./gradlew build test --scan

0 comments on commit 441b47f

Please sign in to comment.