Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/dev_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- '**'

permissions:
# Required for the snapshot release step; the repo's default token is read-only.
contents: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ jobs:
uses: gradle/actions/setup-gradle@v6

- name: Build with Gradle
# Tags up to v1.3.5 were committed with gradlew at mode 100644 (no exec bit),
# so make it runnable before invoking it.
# Override the Windows JDK path pinned in gradle.properties with the runner's JDK 21.
run: ./gradlew build -Dorg.gradle.java.home="$JAVA_HOME"
run: |
chmod +x ./gradlew
./gradlew build -Dorg.gradle.java.home="$JAVA_HOME"

- name: Publish Release
uses: softprops/action-gh-release@v3
Expand Down