Skip to content

Commit

Permalink
Bump 1.5.5 or attempt to fix building for Jitpack and GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
BoomEaro committed Jul 31, 2023
1 parent 6ec28e3 commit f9e4d3c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Find correct JAR
id: find-jar
run: |
output="$(find build/libs/ ! -name "*-javadoc.jar" ! -name "*-sources.jar" -type f -printf "%f\n")"
echo "::set-output name=jarname::$output"
- name: Upload to the GitHub release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: build/libs/LangHelper.jar
asset_name: LangHelper.jar
asset_path: build/libs/${{ steps.find-jar.outputs.jarname }}
asset_name: ${{ steps.find-jar.outputs.jarname }}
asset_content_type: application/java-archive
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

allprojects {
group = "ru.boomearo"
version = "1.5.4"
version = "1.5.5"
}

subprojects {
Expand Down
1 change: 1 addition & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
jdk:
- openjdk17
install:
- chmod +x gradlew
- ./gradlew clean build -Pgroup=com.github.BoomEaro publishToMavenLocal

0 comments on commit f9e4d3c

Please sign in to comment.