Skip to content

Commit

Permalink
update circle to place artifact in the right location
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileoverlord committed Jan 24, 2018
1 parent c3cf31c commit f98da8f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f98da8f

Please sign in to comment.