Skip to content

Commit e07d3a5

Browse files
committed
Remove RPM package creation
1 parent 1a7036f commit e07d3a5

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/build-packages.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020
- name: Install dependencies
2121
run: |
2222
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
2624
python -m pip install --upgrade pip
2725
pip install build
2826
@@ -32,7 +30,6 @@ jobs:
3230
3331
- name: Build DEB package
3432
run: |
35-
# If this is a tag, use it as version, otherwise use 0.0.0
3633
if [[ "${{ github.ref_type }}" == "tag" ]]; then
3734
VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
3835
else
@@ -42,22 +39,9 @@ jobs:
4239
./build.sh "$VERSION"
4340
cd ../..
4441
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-
5742
- name: Upload artifacts
5843
uses: actions/upload-artifact@v4
5944
with:
6045
name: packages
6146
path: |
62-
packaging/debian/*.deb
63-
packaging/rpm/RPMS/x86_64/*.rpm
47+
packaging/debian/*.deb

0 commit comments

Comments
 (0)