From cdf0ab5074e15b3c961e2ef28d2d560a89ed7193 Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Mon, 22 Jul 2024 16:24:02 +0200 Subject: [PATCH] workflow second try (with target) --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c293977..b2d3e95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,14 +21,17 @@ jobs: matrix: target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl] steps: - - uses: actions/checkout@master - + - uses: actions/checkout@v2 + - name: Set up Rust uses: actions-rs/toolchain@v1 with: toolchain: stable override: true + - name: Install target + run: rustup target add ${{ matrix.target }} + - name: Compile the app run: | cargo build --release --target ${{ matrix.target }}