File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 20
20
- name : Install dependencies
21
21
run : |
22
22
sudo apt-get update
23
- sudo apt-get install -y rpm build-essential debhelper devscripts python3-setuptools python3-all dh-python
24
- # Install RPM build dependencies
25
- sudo apt-get install -y rpm python3-dev python3-setuptools
23
+ sudo apt-get install -y build-essential debhelper devscripts python3-setuptools python3-all dh-python
26
24
python -m pip install --upgrade pip
27
25
pip install build
28
26
32
30
33
31
- name : Build DEB package
34
32
run : |
35
- # If this is a tag, use it as version, otherwise use 0.0.0
36
33
if [[ "${{ github.ref_type }}" == "tag" ]]; then
37
34
VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
38
35
else
42
39
./build.sh "$VERSION"
43
40
cd ../..
44
41
45
- - name : Build RPM package
46
- run : |
47
- # If this is a tag, use it as version, otherwise use 0.0.0
48
- if [[ "${{ github.ref_type }}" == "tag" ]]; then
49
- VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
50
- else
51
- VERSION="0.0.0"
52
- fi
53
- cd packaging/rpm
54
- ./build.sh "$VERSION"
55
- cd ../..
56
-
57
42
- name : Upload artifacts
58
43
uses : actions/upload-artifact@v4
59
44
with :
60
45
name : packages
61
46
path : |
62
- packaging/debian/*.deb
63
- packaging/rpm/RPMS/x86_64/*.rpm
47
+ packaging/debian/*.deb
You can’t perform that action at this time.
0 commit comments