Skip to content

Commit

Permalink
👷 Add Ring for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Feb 22, 2024
1 parent f93f8d2 commit 1596186
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,19 @@ jobs:
target: ${{ matrix.build.TARGET }}
override: true

- name: Add Ring for windows
shell: bash
run: |
if [ "${{ matrix.build.OS }}" = "windows-2022" ]; then
cargo add ring
fi
- name: Build the Rust binary
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path=cli/Cargo.toml --release --locked --target ${{ matrix.build.TARGET }}
use-cross: true # use `cross` for Linux builds
use-cross: ${{ matrix.build.OS == 'ubuntu-20.04' }} # use `cross` for Linux builds

- uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 1596186

Please sign in to comment.