Skip to content

Commit

Permalink
[GitHub] Try and download the ivy dependency for build
Browse files Browse the repository at this point in the history
  • Loading branch information
ttiimm committed May 18, 2024
1 parent 14550e7 commit 3d5dd0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
with:
distribution: 'temurin'
java-version: '22'
- name: Dependencies
run: mkdir lib && wget -U "Cult-Baby" https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.2/ivy-2.5.2.jar -O lib/ivy-2.5.2.jar
- name: Compile
run: javac --enable-preview --source 22 -d target src/Main.java && java --enable-preview -cp target Main build
run: java -cp lib/ivy-2.5.2.jar --enable-preview --source 22 src/Main.java build --fat
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
Expand Down

0 comments on commit 3d5dd0f

Please sign in to comment.