You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/auto-release.yml
+40-1Lines changed: 40 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,56 @@ permissions:
10
10
11
11
jobs:
12
12
auto-release:
13
-
runs-on: ubuntu-latest
13
+
runs-on: ubuntu-24.04
14
14
steps:
15
15
- uses: actions/checkout@v4
16
16
17
+
- name: Setup Ubuntu dependencies
18
+
uses: ./.github/actions/setup-ubuntu-deps
19
+
20
+
- name: Build cabin
21
+
run: make BUILD=release -j4
22
+
env:
23
+
CXX: g++-14
24
+
25
+
- name: Create DEB package
26
+
uses: blinktag/nfpm@v2.27.1
27
+
with:
28
+
packager: deb
29
+
env:
30
+
CABIN_VERSION: ${{ github.ref_name }}
31
+
32
+
- name: Create RPM package
33
+
uses: blinktag/nfpm@v2.27.1
34
+
with:
35
+
packager: rpm
36
+
env:
37
+
CABIN_VERSION: ${{ github.ref_name }}
38
+
17
39
- name: Release
18
40
uses: softprops/action-gh-release@v2
19
41
with:
20
42
draft: false
21
43
generate_release_notes: true
44
+
files: |
45
+
*.deb
46
+
*.rpm
22
47
body: |
23
48
:sparkling_heart: I maintain **Cabin** in my spare time. Buy me a coffee on [GitHub Sponsors](https://github.com/sponsors/ken-matsui) so I can keep shipping features!
0 commit comments