Skip to content

Commit

Permalink
Add the final Java build part
Browse files Browse the repository at this point in the history
  • Loading branch information
nahkd123 committed Mar 10, 2024
1 parent 0ea2287 commit 06ebda6
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,39 @@ jobs:
with:
name: osx-natives
path: |
inking-otd/src/main/resources/natives/**/*
inking-otd/src/main/resources/natives/**/*
java:
name: Inking
needs: [win-natives, linux-natives, osx-natives]
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download Windows Natives
uses: actions/download-artifact@v4
with:
name: windows-natives
path: |
inking-otd/src/main/resources/natives/**/*
- name: Download Linux Natives
uses: actions/download-artifact@v4
with:
name: linux-natives
path: |
inking-otd/src/main/resources/natives/**/*
- name: Download OSX Natives
uses: actions/download-artifact@v4
with:
name: osx-natives
path: |
inking-otd/src/main/resources/natives/**/*
- uses: actions/setup-java@v4
with:
java-version: 21
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- uses: actions/upload-artifact@v4
with:
name: inking-artifacts
path: '*/target/*.jar'

0 comments on commit 06ebda6

Please sign in to comment.