Skip to content

Commit 133e09d

Browse files
authored
OS-specific tweaks for Rust builds (#135)
1 parent 049ee0c commit 133e09d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- name: macos
2828
runner: macos-latest
2929
steps:
30+
- name: Install missing OS dependencies for Linux
31+
if: ${{ matrix.os.name == 'linux' }}
32+
run: sudo apt update && sudo apt install libssl-dev
3033
- name: Checkout
3134
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3235
with:
@@ -60,6 +63,6 @@ jobs:
6063
uses: svenstaro/upload-release-action@v2
6164
with:
6265
tag: ${{ inputs.version }}
63-
file: ${{ github.workspace }}/checkout-tag/target/${{ steps.rust-target.outputs.target }}/release/elasticsearch-core-mcp-server
66+
file: checkout-tag/target/${{ steps.rust-target.outputs.target }}/release/elasticsearch-core-mcp-server
6467
asset_name: elasticsearch-core-mcp-server.${{ inputs.version }}.${{ matrix.os.name }})-${{ matrix.arch }}
6568
overwrite: true

0 commit comments

Comments
 (0)