Skip to content

Commit 3bd7587

Browse files
committed
only release binary
1 parent 20320a8 commit 3bd7587

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,15 @@ jobs:
6262
target: ${{ matrix.platform.target }}
6363
args: "--locked --release"
6464
strip: true
65-
- name: Publish artifacts and release
66-
uses: houseabsolute/actions-rust-release@48ce35fb40c3dab00791a3d6c485022341354c44
65+
- name: Create archive
66+
run: tar -czvf mcp-proxy-${{ matrix.platform.target }}.tar.gz -C target/*/release mcp-proxy
67+
- name: Upload artifacts
68+
uses: actions/upload-artifact@v4
6769
with:
68-
executable-name: mcp-proxy
69-
extra-files: ''
70-
changes-file: ''
71-
target: ${{ matrix.platform.target }}
70+
name: mcp-proxy-${{ matrix.platform.target }}
71+
path: mcp-proxy-${{ matrix.platform.target }}.tar.gz
72+
- name: Release
73+
uses: softprops/action-gh-release@39ba0b9d81217c984acfad95ddcc7db226387497
74+
if: github.ref_type == 'tag'
75+
with:
76+
files: 'mcp-proxy-${{ matrix.platform.target }}.tar.gz'

0 commit comments

Comments
 (0)