Skip to content

Commit

Permalink
build-cross test
Browse files Browse the repository at this point in the history
  • Loading branch information
EliMoshkovich committed Oct 3, 2024
1 parent 8f4752a commit 7b26a18
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,14 @@ jobs:
- name: Update Cargo.toml version
run: |
#sed -i '/\[package\]/,/^version = /s/^version = .*/version = \"${{ github.event.release.tag_name }}\"/' Cargo.toml
sed -i '/\[package\]/,/^version = /s/^version = .*/version = \"0.2.1\"/' Cargo.toml
cat Cargo.toml
if [[ "${{ matrix.runner }}" == "macos-latest" ]]; then
sed -i '' '/\[package\]/,/^version = /s/^version = .*/version = "0.2.1"/' Cargo.toml
cat Cargo.toml
fi
if [[ "${{ matrix.runner }}" == "ubuntu-latest" ]]; then
sed -i '/\[package\]/,/^version = /s/^version = .*/version = \"0.2.1\"/' Cargo.toml
cat Cargo.toml
fi
- name: Build Binary
run: cargo build --verbose --release --target ${{ matrix.target }} # --locked have been removed to avoid error
Expand Down

0 comments on commit 7b26a18

Please sign in to comment.