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 @@ -152,6 +152,34 @@ jobs:
152
152
name : html-doc
153
153
path : ${{ github.workspace }}/stgit-html
154
154
155
+ packages :
156
+ name : Pre-built deb and rpm packages
157
+ runs-on : ubuntu-latest
158
+ steps :
159
+ - name : Install Rust
160
+ uses : dtolnay/rust-toolchain@master
161
+ with :
162
+ toolchain : stable
163
+ - name : Install cargo-deb
164
+ run : |
165
+ cargo install cargo-deb
166
+ - name : Install cargo-generate-rpm
167
+ run : |
168
+ cargo install cargo-generate-rpm
169
+ - name : Build Packages
170
+ run : |
171
+ make deb rpm
172
+ - name : Upload deb
173
+ uses : actions/upload-artifact@v3
174
+ with :
175
+ name : stgit-deb
176
+ path : target/debian/stgit_*.deb
177
+ - name : Upload rpm
178
+ uses : actions/upload-artifact@v3
179
+ with :
180
+ name : stgit-rpm
181
+ path : target/generate-rpm/stgit-*.rpm
182
+
155
183
windows-build :
156
184
name : Windows Build
157
185
runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments