From 274ebbcd688dfef56ad851a2cd5068ec8f1d5081 Mon Sep 17 00:00:00 2001 From: plebhash Date: Fri, 5 Jan 2024 15:04:12 -0300 Subject: [PATCH] fix cross.yaml --- .github/workflows/cross.yaml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/cross.yaml b/.github/workflows/cross.yaml index c844d02178..4a0b05ec89 100644 --- a/.github/workflows/cross.yaml +++ b/.github/workflows/cross.yaml @@ -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: | @@ -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: | @@ -96,4 +95,4 @@ jobs: echo "File $tar_path does not exist." exit 1 fi - done \ No newline at end of file + done