mirror of
https://github.com/apple/pkl.git
synced 2026-08-27 06:04:03 +02:00
Fix deploy build (#1798)
* Fix issue where the DeployJob and GithubRelease jobs download artifacts using a glob that only matches one artifact * Make NativeImageBuild task only produce outputs as declared by build; ensure there's no build_artifacts.txt, sources/ dir, etc.
This commit is contained in:
@@ -14,7 +14,7 @@ fixed job {
|
||||
steps {
|
||||
(catalog.`actions/download-artifact@v6`) {
|
||||
with {
|
||||
pattern = "executable-**"
|
||||
pattern = "deploy-artifacts-**"
|
||||
`merge-multiple` = true
|
||||
}
|
||||
}
|
||||
@@ -29,15 +29,12 @@ fixed job {
|
||||
// language=bash
|
||||
run =
|
||||
#"""
|
||||
# exclude build_artifacts.txt from publish
|
||||
rm -f */build/executable/*.build_artifacts.txt
|
||||
find */build/executable/* -type d | xargs rm -rf
|
||||
gh release create ${TAG_NAME} \
|
||||
--title "${TAG_NAME}" \
|
||||
--target "${GIT_SHA}" \
|
||||
--verify-tag \
|
||||
--notes "Release notes: https://pkl-lang.org/main/current/release-notes/changelog.html#release-${TAG_NAME}" \
|
||||
*/build/executable/*
|
||||
*/build/executable/* */build/distributions/*
|
||||
"""#
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user