1414 build :
1515 name : Build Release
1616 runs-on : ubuntu-latest
17-
17+
1818 steps :
1919 - name : Checkout code
2020 uses : actions/checkout@v4
@@ -51,31 +51,41 @@ jobs:
5151 chmod +x build-deb.sh
5252 ./build-deb.sh
5353
54+ - name : List built artifacts
55+ run : |
56+ echo "=== Binary ==="
57+ ls -la target/release/rax
58+ echo "=== DEB Package ==="
59+ ls -la rax_*.deb
60+
5461 - name : Upload binary artifact
5562 uses : actions/upload-artifact@v4
5663 with :
57- name : rax-linux-amd64
64+ name : rax-binary
5865 path : target/release/rax
5966 retention-days : 30
67+ if-no-files-found : error
6068
6169 - name : Upload deb artifact
6270 uses : actions/upload-artifact@v4
6371 with :
6472 name : rax-deb-package
65- path : rax_*.deb
73+ path : |
74+ rax_0.1.0_amd64.deb
6675 retention-days : 30
76+ if-no-files-found : error
6777
6878 release :
6979 name : Create GitHub Release
7080 needs : build
7181 runs-on : ubuntu-latest
7282 if : startsWith(github.ref, 'refs/tags/')
73-
83+
7484 steps :
7585 - name : Download binary artifact
7686 uses : actions/download-artifact@v4
7787 with :
78- name : rax-linux-amd64
88+ name : rax-binary
7989 path : ./artifacts
8090
8191 - name : Download deb artifact
@@ -84,24 +94,29 @@ jobs:
8494 name : rax-deb-package
8595 path : ./artifacts
8696
97+ - name : List artifacts for release
98+ run : |
99+ echo "=== Artifacts to upload ==="
100+ ls -la ./artifacts/
101+
87102 - name : Create Release
88103 id : create_release
89104 uses : softprops/action-gh-release@v2
90105 env :
91106 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
92107 with :
93- tag_name : ${{ github.ref }}
108+ tag_name : ${{ github.ref_name }}
94109 name : Release ${{ github.ref_name }}
95110 draft : false
96111 prerelease : false
97112 files : |
98113 ./artifacts/rax
99- ./artifacts/rax_* .deb
114+ ./artifacts/rax_0.1.0_amd64 .deb
100115 body : |
101116 ## 🚀 Rax CLI ${{ github.ref_name }}
102-
117+
103118 ### Installation
104-
119+
105120 #### Option 1: Using apt (Recommended)
106121 ```bash
107122 # Add the repository
@@ -110,28 +125,28 @@ jobs:
110125 sudo apt update
111126 sudo apt install rax
112127 ```
113-
128+
114129 #### Option 2: Direct download
115130 ```bash
116131 # Download and install the .deb package
117- wget https://github.com/Raxcore-dev/rax-offline-cli/releases/download/${{ github.ref_name }}/rax_* .deb
118- sudo apt install ./rax_* .deb
132+ wget https://github.com/Raxcore-dev/rax-offline-cli/releases/download/${{ github.ref_name }}/rax_0.1.0_amd64 .deb
133+ sudo apt install ./rax_0.1.0_amd64 .deb
119134 ```
120-
135+
121136 #### Option 3: Binary
122137 ```bash
123138 # Download and run directly
124139 wget https://github.com/Raxcore-dev/rax-offline-cli/releases/download/${{ github.ref_name }}/rax
125140 chmod +x rax
126141 ./rax
127142 ```
128-
143+
129144 ### What's New
130145 - Automated build with GitHub Actions
131146 - Official apt repository support
132147 - Improved first-run experience
133148 - Persistent chat history
134-
149+
135150 ### Features
136151 - 🤖 Claude Code-style interface
137152 - 💾 Auto-saving chat history
0 commit comments