Skip to content

Commit 049ee0c

Browse files
authored
Ensure Rust build action can run on Windows runner (#134)
1 parent fce6327 commit 049ee0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
env:
4242
RUST_OS: ${{ matrix.os.name }}
4343
RUST_ARCH: ${{ matrix.arch }}
44+
shell: bash
4445
run: |
4546
echo target=$($GITHUB_WORKSPACE/checkout-main/.github/workflows/scripts/rust-build.sh --print-target) >> "$GITHUB_OUTPUT"
4647
- name: Rust toolkit setup
@@ -51,14 +52,14 @@ jobs:
5152
env:
5253
RUST_OS: ${{ matrix.os.name }}
5354
RUST_ARCH: ${{ matrix.arch }}
55+
shell: bash
5456
run: |
5557
cd $GITHUB_WORKSPACE/checkout-tag
5658
$GITHUB_WORKSPACE/checkout-main/.github/workflows/scripts/rust-build.sh
5759
- name: Upload binaries to release
5860
uses: svenstaro/upload-release-action@v2
5961
with:
6062
tag: ${{ inputs.version }}
61-
release_id: ${{ inputs.version }}
6263
file: ${{ github.workspace }}/checkout-tag/target/${{ steps.rust-target.outputs.target }}/release/elasticsearch-core-mcp-server
6364
asset_name: elasticsearch-core-mcp-server.${{ inputs.version }}.${{ matrix.os.name }})-${{ matrix.arch }}
6465
overwrite: true

0 commit comments

Comments
 (0)