File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 build :
99 strategy :
1010 matrix :
11- target :
12- - x86_64-unknown-linux-gnu
13- - aarch64-unknown-linux-gnu
14- - x86_64-apple-darwin
15- - aarch64-apple-darwin
11+ include :
12+ - target : x86_64-unknown-linux-gnu
13+ artifact_name : async-bash-mcp-linux-x86_64
14+ - target : aarch64-unknown-linux-gnu
15+ artifact_name : async-bash-mcp-linux-arm64
16+ - target : x86_64-apple-darwin
17+ artifact_name : async-bash-mcp-macos-x86_64
18+ - target : aarch64-apple-darwin
19+ artifact_name : async-bash-mcp-macos-arm64
1620 runs-on : ${{ contains(matrix.target, 'apple') && 'macos-latest' || 'ubuntu-latest' }}
1721 steps :
1822 - uses : actions/checkout@v4
2933 else
3034 cargo build --release --target ${{ matrix.target }}
3135 fi
36+ - name : Rename binary
37+ run : cp target/${{ matrix.target }}/release/async-bash-mcp ${{ matrix.artifact_name }}
3238 - name : Upload binary
3339 uses : softprops/action-gh-release@v1
3440 with :
35- files : target/ ${{ matrix.target }}/release/async-bash-mcp
41+ files : ${{ matrix.artifact_name }}
You can’t perform that action at this time.
0 commit comments