mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-06 12:58:45 +08:00
Fix CI
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
export AR="${arch}-ar"
|
||||
export HOST_AR="ar"
|
||||
export RUSTFLAGS="-C linker=${CC}"
|
||||
cargo build --release --target ${{ matrix.arch }} --no-default-features -F zig
|
||||
cargo build --release --target ${{ matrix.arch }}
|
||||
version=${{ github.event.release.tag_name }}
|
||||
cd target/${{ matrix.arch }}/release
|
||||
7z a -mx9 "../../../msg_tool-${version}-${{ matrix.arch }}.zip" "msg_tool"
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
uses: actions/checkout@v5
|
||||
- name: Build project
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/io -w /io ghcr.io/rust-cross/cargo-zigbuild /bin/bash -c 'apt-get update && apt-get install -y cmake && cargo zigbuild --release --target ${{ matrix.arch }}'
|
||||
docker run --rm -v $(pwd):/io -w /io ghcr.io/rust-cross/cargo-zigbuild /bin/bash -c 'apt-get update && apt-get install -y cmake && cargo zigbuild --release --target ${{ matrix.arch }} --no-default-features -F zig'
|
||||
|
||||
version=${{ github.event.release.tag_name }}
|
||||
cd target/${{ matrix.arch }}/release
|
||||
|
||||
Reference in New Issue
Block a user