File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - " v*"
77 workflow_dispatch :
88
9+ permissions :
10+ contents : write
11+
912env :
1013 CARGO_TERM_COLOR : always
1114 DATABASE_URL : postgresql://pointer:pointer@localhost:5432/pointer
@@ -100,11 +103,12 @@ jobs:
100103 for bin in pointer-backend pointer-indexer; do
101104 BIN_PATH="$(find target -path "*/release/${bin}" -type f | head -n1)"
102105 cp "$BIN_PATH" "artifacts/${bin}"
103- tar -czf "artifacts/${bin}.tar.gz" -C artifacts "${bin}"
104106 done
105-
106- - name : Upload artifacts
107- uses : actions/upload-artifact@v4
108- with :
109- name : pointer-release-artifacts
110- path : artifacts/*.tar.gz
107+ tar -czf "artifacts/pointer-linux-amd64.tar.gz" -C artifacts .
108+
109+ - name : Release
110+ uses : softprops/action-gh-release@v2
111+ if : github.ref_type == 'tag'
112+ with :
113+ files : artifacts/pointer-linux-amd64.tar.gz
114+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments