mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 12:08:50 +03:00
Download cirrus ci artifacts in codesign job
This commit is contained in:
parent
3de967fbc0
commit
de1ba8b577
1 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,15 @@ security unlock-keychain -p "${RUNNER_USER_PW}" login.keychain
|
||||||
if [ "${CI_PIPELINE_TRIGGERED}" ]; then
|
if [ "${CI_PIPELINE_TRIGGERED}" ]; then
|
||||||
echo "cirrus build id: ${TRIGGER_BUILD_ID}"
|
echo "cirrus build id: ${TRIGGER_BUILD_ID}"
|
||||||
cat "${TRIGGER_PAYLOAD}"
|
cat "${TRIGGER_PAYLOAD}"
|
||||||
|
# download the build artifacts from cirrus api
|
||||||
|
wget "https://api.cirrus-ci.com/v1/artifact/build/${TRIGGER_BUILD_ID}/binaries.zip"
|
||||||
|
# cirrus ci artifacts task name is 'binaries' so that's the zip name.
|
||||||
|
unzip binaries.zip
|
||||||
|
# we zip 'build/nheko.app' in cirrus ci, cirrus itself puts it in a 'build' directory
|
||||||
|
# so move it to the right place for the rest of the process.
|
||||||
|
mv build/build/nheko.app build
|
||||||
|
# get rid of the extra build directory
|
||||||
|
rm -r build/build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
( cd build || exit
|
( cd build || exit
|
||||||
|
|
Loading…
Reference in a new issue