Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,22 @@ jobs:
apt -y install curl
# copy to fileserver builds and downloads directories
for dir in "/fileserver-builds/${BUILD_ID}" \
"/fileserver-downloads/qcom-deb-images/linux-deb-latest"; do
"/fileserver-downloads/${BUILD_ID}"; do
mkdir -vp "${dir}"
cp -av `dcmd *.changes` "${dir}"
done
# create or update linux-latest symlink
mkdir -vp /fileserver-downloads/qcom-deb-images
(
cd /fileserver-downloads/qcom-deb-images
# remove what used to be a directory and create/update symlink to
# point to latest build
rm -rvf linux-latest
ln -svf "../${BUILD_ID}" linux-latest
)
# perhaps help NFS sync
sync
# instruct fileserver to publish this directory
url="${FILESERVER_URL}/${BUILD_ID}/"
curl -X POST -H 'Accept: text/event-stream' "${url}"

Loading