Skip to content

Commit

Permalink
fix(ci, release): fucking tag issue
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Sep 16, 2023
1 parent aa83b04 commit 75dc5c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ jobs:
- name: Cargo build (musl)
if: ${{ contains(matrix.target, 'musl') && startsWith(matrix.os, 'ubuntu-latest') }}
run: |
docker buildx build -t rust-musl-builder -f ./manifest/docker/builder/${{ matrix.target }}/Dockerfile .
docker run -v "$(pwd)":/home/rust/src --rm -t rust-musl-builder git config --global --add safe.directory '*' && cargo +nightly build --release --target ${{ matrix.target }}
docker buildx build -t rust-musl-builder -f ./manifest/docker/builder/${{ matrix.target }}/Dockerfile . && \
docker run -v "$(pwd)":/home/rust/src --rm -t rust-musl-builder rustup toolchain list && \
docker run -v "$(pwd)":/home/rust/src --rm -t rust-musl-builder bash -c "git config --global --add safe.directory '*' && cargo +nightly build --release --target ${{ matrix.target }}"
- name: Cargo build
if: ${{ !contains(matrix.target, 'musl') || !startsWith(matrix.os, 'ubuntu-latest') }}
Expand Down

0 comments on commit 75dc5c5

Please sign in to comment.