From f98da8fd4c43d4065e2d8ca31c18b31e878e2503 Mon Sep 17 00:00:00 2001 From: Justin Schneck Date: Wed, 24 Jan 2018 16:46:37 -0500 Subject: [PATCH] update circle to place artifact in the right location --- .circleci/config.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 25dad49..9927148 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,23 +49,18 @@ build: &build command: | cd $TOOLCHAIN mix compile + - run: + name: "Create artifact dir" + command: mkdir -p /home/nerves/deploy/toolchain - run: name: Create artifact command: | cd $TOOLCHAIN - mix nerves.artifact $TOOLCHAIN - - run: - name: "Create artifact dir" - command: mkdir -p /home/nerves/deploy/toolchain + mix nerves.artifact $TOOLCHAIN --path /home/nerves/deploy/toolchain - save_cache: key: nerves/dl/{{ checksum ".toolchain" }}/{{ checksum ".build_os" }}-{{ .Branch }} paths: - $HOME/.nerves/dl - - run: - name: "Copy Artifacts" - command: | - cd $TOOLCHAIN - cp ${TOOLCHAIN}*.tar.xz /home/nerves/deploy/toolchain - store_artifacts: path: /home/nerves/deploy/toolchain destination: toolchain