Skip to content

Commit bb5ee63

Browse files
committed
Update build-client-deb.yml
1 parent 29cb965 commit bb5ee63

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ jobs:
2828
- name: Clone Bareos
2929
run: git clone https://github.com/bareos/bareos.git bareos-repo
3030

31+
- name: Extract version from VERSION File
32+
id: vars
33+
run: |
34+
VERSION=$(cat VERSION | tr -d ' \n')
35+
echo "VERSION=$VERSION" >> $GITHUB_ENV
36+
3137
- name: Checkout release
3238
working-directory: ./bareos-repo
3339
run: |
3440
git fetch --all
35-
# récupère la version depuis le fichier VERSION
36-
VERSION=$(cat VERSION.txt | tr -d ' \n')
37-
echo "VERSION=$VERSION" >> $GITHUB_ENV
38-
git checkout Release/$VERSION
41+
git checkout Release/${VERSION}
3942
mkdir build
4043
4144
- name: Configure CMake (tous composants)

0 commit comments

Comments
 (0)