Fix CI builds.

This commit is contained in:
Blaž Hrastnik 2021-05-11 01:19:29 +09:00
parent 0190fee1c2
commit 98bda8f3c9

View File

@ -20,7 +20,7 @@ jobs:
- build: x86_64-linux - build: x86_64-linux
os: ubuntu-20.04 os: ubuntu-20.04
rust: stable rust: stable
target: x86_64-unknown-linux-musl target: x86_64-unknown-linux-gnu
cross: false cross: false
- build: aarch64-linux - build: aarch64-linux
os: ubuntu-20.04 os: ubuntu-20.04
@ -89,10 +89,11 @@ jobs:
- name: Build archive - name: Build archive
shell: bash shell: bash
run: | run: |
outdir="$(ci/cargo-out-dir "${{ env.TARGET_DIR }}")" # outdir="$(ci/cargo-out-dir "${{ env.TARGET_DIR }}")"
staging="helix-${{ env.RELEASE_VERSION }}-${{ matrix.target }}" staging="helix-${{ env.RELEASE_VERSION }}-${{ matrix.target }}"
mkdir -p "$staging"/{complete,doc} mkdir "$staging"
cp {README.md,LICENSE} "$staging/" cp README.md "$staging/"
# cp {README.md,LICENSE} "$staging/"
# cp {CHANGELOG.md,FAQ.md,GUIDE.md} "$staging/doc/" # cp {CHANGELOG.md,FAQ.md,GUIDE.md} "$staging/doc/"
# cp "$outdir"/{hx.bash,hx.fish,_hx.ps1} "$staging/complete/" # cp "$outdir"/{hx.bash,hx.fish,_hx.ps1} "$staging/complete/"
# cp complete/_hx "$staging/complete/" # cp complete/_hx "$staging/complete/"