File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1111# permissions to none
1212permissions :
1313 contents : read
14+ security-events : read # This is required to handle authentication to our artifact publishing API
1415
1516env :
1617 # where results will be posted/hosted
@@ -68,15 +69,11 @@ jobs:
6869 set -ux
6970 # dcmd from devscripts will be used to parse .changes file
7071 apt -y install --no-install-recommends devscripts
71- # curl will be used to talk to fileserver; should be installed by
72- # default
73- apt -y install curl
7472 # copy to fileserver builds and downloads directories
75- for dir in "/fileserver-builds/${BUILD_ID}" \
76- "/fileserver-downloads/${BUILD_ID}"; do
77- mkdir -vp "${dir}"
78- cp -av `dcmd *.changes` "${dir}"
79- done
73+ export BUILD_DIR="/fileserver-downloads/${BUILD_ID}"
74+ mkdir -vp "${BUILD_DIR}"
75+ cp -av `dcmd *.changes` "${BUILD_DIR}"
76+
8077 # create or update linux-deb-latest symlink
8178 mkdir -vp /fileserver-downloads/qcom-deb-images
8279 (
9087 # perhaps help NFS sync
9188 sync
9289 # instruct fileserver to publish this directory
93- url="${FILESERVER_URL}/${BUILD_ID}/"
94- curl -X POST -H 'Accept: text/event-stream' "${url}"
90+ export URL="${FILESERVER_URL}/${BUILD_ID}/"
91+ .github/workflows/publish_artifacts.py
92+ echo Image available at: ${URL}
9593
You can’t perform that action at this time.
0 commit comments