Skip to content

Commit

Permalink
Fix build failures
Browse files Browse the repository at this point in the history
  • Loading branch information
zhicwu committed Feb 28, 2023
1 parent 1fb306f commit 7b5bbb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
distribution: "temurin"
java-version: ${{ matrix.jdk }}
- name: Install
- name: Install targets
uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -63,11 +63,11 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target ${{ matrix.target }} -p prql-java
args: --target=${{ matrix.target }} --release -p prql-java
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target }}
path: target/release/*prql_java${{ matrix.suffix }}
path: target/${{ matrix.target }}/release/*prql_java${{ matrix.suffix }}
if-no-files-found: error

build-java:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
distribution: "temurin"
java-version: ${{ matrix.jdk }}
cache: "maven"
- name: Install
- name: Install targets
uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -54,13 +54,13 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --target ${{ matrix.target }} -p prqlc
args: -p prqlc
- name: Build JNI
#uses: richb-hanover/cargo@v1.1.0
uses: actions-rs/cargo@v1
with:
command: build
args: --target ${{ matrix.target }} -p prql-java
args: -p prql-java
- name: Maven test
working-directory: prql-java
run: mvn --batch-mode --show-version --strict-checksums install

0 comments on commit 7b5bbb2

Please sign in to comment.