Skip to content

Commit b745272

Browse files
committed
workflows: linux: Remove transition code
No need to remove directory anymore, only update symlink. Signed-off-by: Loïc Minier <[email protected]>
1 parent 75e79a3 commit b745272

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/linux.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,9 @@ jobs:
7777
export BUILD_DIR="/fileserver-downloads/${BUILD_ID}"
7878
mkdir -vp "${BUILD_DIR}"
7979
cp -av artifacts/* "${BUILD_DIR}"
80-
8180
# create or update linux-deb-latest symlink
8281
mkdir -vp /fileserver-downloads/qcom-deb-images
83-
(
84-
cd /fileserver-downloads/qcom-deb-images
85-
# remove what used to be a directory and create/update symlink to
86-
# point to latest build
87-
rm -rvf linux-latest
88-
rm -rvf linux-deb-latest
89-
ln -svf "../${BUILD_ID}" linux-deb-latest
90-
)
82+
ln -svf "../${BUILD_ID}" /fileserver-downloads/qcom-deb-images/linux-deb-latest
9183
# perhaps help NFS sync
9284
sync
9385

0 commit comments

Comments
 (0)