File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,20 @@ 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 (Unix)
66+ if : matrix.platform.os-name != 'Windows-x86_64'
67+ run : tar -czvf mcp-proxy-${{ matrix.platform.target }}.tar.gz -C target/*/release mcp-proxy
68+ - name : Create archive (Windows)
69+ if : matrix.platform.os-name == 'Windows-x86_64'
70+ working-directory : target\\${{ matrix.platform.target }}\\release
71+ run : 7z a ..\\..\\..\\mcp-proxy-${{ matrix.platform.target }}.zip mcp-proxy.exe
72+ - name : Upload artifacts
73+ uses : actions/upload-artifact@v4
6774 with :
68- executable-name : mcp-proxy
69- extra-files : ' '
70- changes-file : ' '
71- target : ${{ matrix.platform.target }}
75+ name : mcp-proxy-${{ matrix.platform.target }}
76+ path : mcp-proxy-${{ matrix.platform.target }}.*
77+ - name : Release
78+ uses : softprops/action-gh-release@39ba0b9d81217c984acfad95ddcc7db226387497
79+ if : github.ref_type == 'tag'
80+ with :
81+ files : ' mcp-proxy-${{ matrix.platform.target }}.*'
You can’t perform that action at this time.
0 commit comments