File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 fi
5656 echo "Running: ${CMD}"
5757 ${CMD}
58+
59+ - name : Upload binaries to GitHub Release
60+ if : github.event_name == 'release'
61+ env :
62+ GH_TOKEN : ${{ github.token }}
63+ run : |
64+ # Rename binaries to match expected download names
65+ cp binaries/codemachine-linux-x64/codemachine codemachine-linux-x64
66+ cp binaries/codemachine-linux-arm64/codemachine codemachine-linux-arm64
67+ cp binaries/codemachine-darwin-arm64/codemachine codemachine-darwin-arm64
68+ cp binaries/codemachine-darwin-x64/codemachine codemachine-darwin-x64
69+ cp binaries/codemachine-windows-x64/codemachine.exe codemachine-windows-x64.exe
70+
71+ # Upload to release
72+ gh release upload ${{ github.event.release.tag_name }} \
73+ codemachine-linux-x64 \
74+ codemachine-linux-arm64 \
75+ codemachine-darwin-arm64 \
76+ codemachine-darwin-x64 \
77+ codemachine-windows-x64.exe \
78+ --clobber
You can’t perform that action at this time.
0 commit comments