diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 87d5ecb..9e096f0 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -36,6 +36,9 @@ jobs: - name: Build with Gradle Wrapper run: ./gradlew build + - name: Build JAR + run: ./gradlew jar + # NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html). # If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version. # @@ -47,6 +50,20 @@ jobs: # - name: Build with Gradle 8.9 # run: gradle build + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.6.2 + with: + # Artifact name + name: build + # A file, directory or wildcard pattern that describes what to upload + path: build/libs + # The desired behavior if no files are found using the provided path. + retention-days: 30 + overwrite: true + include-hidden-files: false + + dependency-submission: runs-on: ubuntu-latest