Skip to content

Commit 6dceddb

Browse files
committed
Update build-client-deb.yml
1 parent db52d5f commit 6dceddb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build-client-deb.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,18 @@ jobs:
3030
- name: Clone Bareos
3131
run: |
3232
git clone https://github.com/bareos/bareos.git
33-
cd bareos
33+
- name: checkout release
34+
working-directory: ./bareos
35+
run: |
3436
git fetch --all
3537
git checkout Release/24.0.4 # ex: Release/24.0.4
3638
echo install\(FILES "${CMAKE_BINARY_DIR}/debian/bareos-filedaemon.service" DESTINATION lib/systemd/system\) >>CMakeLists.txt
3739
- name: Extract version from tag
3840
id: vars
3941
run: echo "VERSION=${GITHUB_REF_NAME#Release/}" >> $GITHUB_ENV
4042
- name: Build Bareos Client
41-
working-directory: bareos
43+
working-directory: bareos/build
4244
run: |
43-
mkdir -p build
44-
cd build
45-
echo $pwd
4645
cmake -Dclient-only=ON \
4746
-DCMAKE_INSTALL_PREFIX=/usr \
4847
-DCPACK_PACKAGE_CONTACT="Libertech <contact@libertech.fr>" \

0 commit comments

Comments
 (0)