Skip to content

Commit

Permalink
Do not publish projects deps if we are in a branch.
Browse files Browse the repository at this point in the history
Still publish the deps in the dep_previews directory in case we
would like to test it project's CI.
  • Loading branch information
mgautierfr committed Nov 8, 2023
1 parent 42a0658 commit 0a02353
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/scripts/compile_all_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@
run_kiwix_build,
make_deps_archive,
upload,
OS_NAME,
PLATFORM_TARGET,
DEV_BRANCH,
)
from build_definition import select_build_targets, DEPS

for target in select_build_targets(DEPS):
run_kiwix_build(target, platform=PLATFORM_TARGET, build_deps_only=True)
archive_file = make_deps_archive(target=target)
upload(archive_file, "[email protected]:30022", "/data/tmp/ci")
if DEV_BRANCH:
destination = "/data/tmp/ci/dev_preview/" + DEV_BRANCH
else:
destination = "/data/tmp/ci"
upload(archive_file, "[email protected]:30022", destination)
os.remove(str(archive_file))

0 comments on commit 0a02353

Please sign in to comment.