File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,3 +109,33 @@ jobs:
109109 name : tavily-proxy-${{ matrix.goos }}-${{ matrix.goarch }}
110110 path : ${{ steps.build.outputs.archive_path }}
111111 if-no-files-found : error
112+
113+ publish-release :
114+ name : Publish Release Assets
115+ runs-on : ubuntu-latest
116+ needs : build-binary
117+ if : startsWith(github.ref, 'refs/tags/v')
118+ permissions :
119+ contents : write
120+ steps :
121+ - name : Download all binary artifacts
122+ uses : actions/download-artifact@v4
123+ with :
124+ pattern : tavily-proxy-*
125+ path : release-assets
126+ merge-multiple : true
127+
128+ - name : Generate checksums
129+ run : |
130+ cd release-assets
131+ sha256sum *.tar.gz > checksums.txt
132+
133+ - name : Publish to GitHub Releases
134+ uses : softprops/action-gh-release@v2
135+ with :
136+ tag_name : ${{ github.ref_name }}
137+ generate_release_notes : true
138+ files : |
139+ release-assets/*.tar.gz
140+ release-assets/checksums.txt
141+ fail_on_unmatched_files : true
You can’t perform that action at this time.
0 commit comments