Skip to content

Commit bf76dab

Browse files
authored
More OS-specific build tweaks (#136)
1 parent 133e09d commit bf76dab

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ jobs:
2222
os:
2323
- name: linux
2424
runner: ubuntu-latest
25+
ext: ""
2526
- name: windows
2627
runner: windows-latest
28+
ext: ".exe"
2729
- name: macos
2830
runner: macos-latest
31+
ext: ""
2932
steps:
3033
- name: Install missing OS dependencies for Linux
31-
if: ${{ matrix.os.name == 'linux' }}
32-
run: sudo apt update && sudo apt install libssl-dev
34+
if: ${{ matrix.os.name == 'linux' && matrix.arch == 'arm64' }}
35+
run: sudo apt update && sudo apt install -y gcc-aarch64-linux-gnu
3336
- name: Checkout
3437
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3538
with:
@@ -63,6 +66,6 @@ jobs:
6366
uses: svenstaro/upload-release-action@v2
6467
with:
6568
tag: ${{ inputs.version }}
66-
file: checkout-tag/target/${{ steps.rust-target.outputs.target }}/release/elasticsearch-core-mcp-server
67-
asset_name: elasticsearch-core-mcp-server.${{ inputs.version }}.${{ matrix.os.name }})-${{ matrix.arch }}
69+
file: checkout-tag/target/${{ steps.rust-target.outputs.target }}/release/elasticsearch-core-mcp-server${{ matrix.os.ext }}
70+
asset_name: elasticsearch-core-mcp-server.${{ inputs.version }}.${{ matrix.os.name }})-${{ matrix.arch }}${{ matrix.os.ext }}
6871
overwrite: true

0 commit comments

Comments
 (0)