File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 6565 with :
6666 name : json-to-sql-${{ runner.os }}
6767 path : dist/*
68+ release :
69+ name : Create GitHub Release
70+ needs : build
71+ runs-on : ubuntu-latest
72+ steps :
73+ - name : Download all built binaries
74+ uses : actions/download-artifact@v4
75+ with :
76+ path : dist
77+ - name : Archive binaries
78+ run : |
79+ cd dist
80+ zip json-to-sql-linux.zip json-to-sql-linux
81+ zip json-to-sql-macos.zip json-to-sql-macos
82+ zip json-to-sql-windows.zip json-to-sql.exe
83+ - name : Create GitHub Release
84+ uses : softprops/action-gh-release@v2
85+ with :
86+ files : dist/*.zip
87+ tag_name : ${{ github.ref }}
88+ name : Release ${{ github.ref }}
89+ body : |
90+ ## JSON-to-SQL CLI Release
91+ - **Linux**: `json-to-sql-linux.zip`
92+ - **macOS**: `json-to-sql-macos.zip`
93+ - **Windows**: `json-to-sql-windows.zip`
94+ env :
95+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments