summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-09-12 16:16:05 -0400
committerGitHub <noreply@github.com>2021-09-12 16:16:05 -0400
commit7e9e18faac09fe00a3ad796cd4837de7e962b5df (patch)
treed4813f27c8142cba0586d7e4a79fb0b43258e2bc
parentc7626057c99e8eccc6d2d72c72a6ab08a23ea507 (diff)
ci: fix deploy script for completion directory copy (#577)0.6.4
Adds an explicit mkdir to the completions directory. No idea why it was bugging out before though, it worked fine on nightly builds.
-rw-r--r--.github/workflows/deployment.yml3
-rw-r--r--.github/workflows/nightly.yml3
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml
index 90ab9bb3..e04718c3 100644
--- a/.github/workflows/deployment.yml
+++ b/.github/workflows/deployment.yml
@@ -224,7 +224,8 @@ jobs:
- name: Move autocomplete to working directory
shell: bash
run: |
- cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out completion
+ mkdir completion
+ cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out/. completion
- name: Strip release binary (macOS or Linux x86-64/i686)
if: matrix.triple.strip == true
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 21beb3b8..aefab297 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -218,7 +218,8 @@ jobs:
- name: Move autocomplete to working directory
shell: bash
run: |
- cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out completion
+ mkdir completion
+ cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out/. completion
- name: Strip release binary (macOS or Linux x86-64/i686)
if: matrix.triple.strip == true