HomePhabricator

[CI] Clear the artifacts directory before the build

Description

[CI] Clear the artifacts directory before the build

Summary:
The artifact directory is currently cleared after the build, just before
the artifacts are copied.
This will be a problem if we want to place files to the artifact
directory at build time, for example by using an install target.
This diffs clears the artifact directory right before starting the
build.

Test Plan: Run any build, and check the artifacts are copied as previously.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D7309

Details

Provenance
FabienAuthored on Sep 2 2020, 19:37
abc-botPushed on Sep 2 2020, 19:40
Reviewer
Restricted Project
Differential Revision
D7309: [CI] Clear the artifacts directory before the build
Parents
rABC1b919a51bdd6: [CI] Prevent artifacts from the same diretory to fail the build
Branches
Unknown
Tags
Unknown