Skip to content

Commit 7c94980

Browse files
committed
chore: fix gradle
1 parent 7e80a0c commit 7c94980

5 files changed

Lines changed: 33 additions & 23 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,16 @@ jobs:
2828
if: ${{ needs.release.outputs.release_created }}
2929
runs-on: ubuntu-22.04
3030
steps:
31-
- name: checkout repository
32-
uses: actions/checkout@v3
33-
- name: validate gradle wrapper
34-
uses: gradle/wrapper-validation-action@v1
35-
- name: setup jdk 21
36-
uses: actions/setup-java@v3
31+
- uses: actions/checkout@v4
32+
- uses: gradle/actions/wrapper-validation@v4
33+
- uses: actions/setup-java@v4
3734
with:
3835
java-version: 21
3936
distribution: 'microsoft'
4037
- name: make gradle wrapper executable
4138
run: chmod +x ./gradlew
4239
- name: build
4340
run: ./gradlew build
44-
# - name: Upload Release Artifact
45-
# env:
46-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
# run:
48-
# find ./build/libs -type f -exec gh release upload ${{ needs.release.outputs.tag_name }} {} +
4941
- uses: Kir-Antipov/mc-publish@v3.3
5042
with:
5143
# Only include this section if you wish to publish
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Validate Gradle Wrapper"
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
validation:
9+
name: "Validation"
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: gradle/actions/wrapper-validation@v4

gradle/wrapper/gradle-wrapper.jar

121 Bytes
Binary file not shown.

gradlew

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)