Skip to content

Commit

Permalink
updated alternative target logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyshazam committed Feb 21, 2024
1 parent 8723625 commit e32f55c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ jobs:
key: ${{ matrix.os }}

- name: Add alternative Rust target
if: ${{ matrix.alternative-target }}
if: ${{ matrix.alternative-target != ''}}
run: |
cargo install cross
- name: Build
if: ${{ !matrix.alternative-target }}
- name: Build alternative target
if: ${{ !matrix.alternative-target != '' }}
run: |
cross build --manifest-path src/DeltaLake/Bridge/Cargo.toml --release
- name: Build alternative target
if: ${{ matrix.alternative-target != '' }}
run: cargo build --manifest-path src/DeltaLake/Bridge/Cargo.toml --release --target ${{ matrix.alternative-target }}
- name: Build
if: ${{ !matrix.alternative-target }}
run: cargo build --manifest-path src/DeltaLake/Bridge/Cargo.toml --release

- name: Upload bridge library
if: ${{ !matrix.alternative-target }}
Expand Down

0 comments on commit e32f55c

Please sign in to comment.