Skip to content

Commit c3f2b04

Browse files
committed
fix: allow jitpack to build any commit
1 parent 79ac72b commit c3f2b04

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

jitpack.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
before_install:
2+
# Setup mise environment
3+
- curl https://mise.run | sh
4+
# the following installs the right tools and creates a mise.toml
5+
# you can skip these if you commit a mise.toml to the project.
6+
- ~/.local/bin/mise use java@21 maven@3.9
7+
8+
9+
install:
10+
# you could technically just run mvn install directly
11+
# put just showing mise x as an option where you can
12+
# configure additional jdks.
13+
- ~/.local/bin/mise x -- mvn install -B -ntp

mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[tools]
2+
java = "17"
3+
maven = "3.9"

0 commit comments

Comments
 (0)