Skip to content

Commit

Permalink
fix: fix move location of binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
steveiliop56 committed Sep 2, 2024
1 parent f428996 commit 2926bc0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ jobs:
- name: Setup rust
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Install cross
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Build binary
run: |
cross build --target x86_64-unknown-linux-musl --release
mv target/x86_x64-unknown-linux-musl/release/cup cup-linux-amd64
- name: Build
run: cargo build --verbose

build-image:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
- name: Build amd64 binary
run: |
cross build --target x86_64-unknown-linux-musl --release
mv target/x86_x64-unknown-linux-musl/release/cup cup-linux-amd64
mv target/x86_x64-unknown-linux-musl/release/cup ./cup-linux-amd64
- name: Build arm64 binary
run: |
cross build --target aarch64-unknown-linux-musl --release
mv target/aarch64-unknown-linux-musl/release/cup cup-linux-arm64
mv target/aarch64-unknown-linux-musl/release/cup ./cup-linux-arm64
- name: Upload binaries
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
- name: Build amd64 binary
run: |
cross build --target x86_64-unknown-linux-musl --release
mv target/x86_x64-unknown-linux-musl/release/cup cup-linux-amd64
mv target/x86_x64-unknown-linux-musl/release/cup ./cup-linux-amd64
- name: Build arm64 binary
run: |
cross build --target aarch64-unknown-linux-musl --release
mv target/aarch64-unknown-linux-musl/release/cup cup-linux-arm64
mv target/aarch64-unknown-linux-musl/release/cup ./cup-linux-arm64
- name: Upload binaries
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 2926bc0

Please sign in to comment.