Skip to content

Commit

Permalink
fix cross.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
plebhash committed Jan 5, 2024
1 parent 61281b3 commit 274ebbc
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/cross.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.70.0
override: true
components: cross

- name: Set up Rust
uses: actions/setup-rust@v1

- name: Install Dependencies
run: |
cargo install cross
- name: Install cargo-cross
run: cargo install cross

- name: Cross Compile 64-bit
run: |
Expand Down Expand Up @@ -60,15 +61,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Rust
uses: actions/setup-rust@v1

- name: Install Dependencies
run: |
cargo install cross
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.70.0
override: true
components: cross

- name: Cross Compile 32-bit
run: |
Expand Down Expand Up @@ -96,4 +95,4 @@ jobs:
echo "File $tar_path does not exist."
exit 1
fi
done
done

0 comments on commit 274ebbc

Please sign in to comment.