From d106fff1fc09199b408c4968e0424a89481f820d Mon Sep 17 00:00:00 2001 From: hodasemi Date: Thu, 13 Feb 2025 08:13:31 +0100 Subject: [PATCH] Use targets correctly --- .gitea/workflows/push_master.yaml | 2 +- .gitea/workflows/push_non_master.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/push_master.yaml b/.gitea/workflows/push_master.yaml index cc88a7a..733df85 100644 --- a/.gitea/workflows/push_master.yaml +++ b/.gitea/workflows/push_master.yaml @@ -25,7 +25,7 @@ jobs: - uses: https://github.com/dtolnay/rust-toolchain@stable with: - toolchain: ${{ join(fromJSON(steps.read_rust_toolchain.outputs.value), ',' ) }} + targets: ${{ join(fromJSON(steps.read_rust_toolchain.outputs.value), ',' ) }} components: ${{ join(fromJSON(steps.read_rust_components.outputs.value), ',' ) }} - name: Build diff --git a/.gitea/workflows/push_non_master.yaml b/.gitea/workflows/push_non_master.yaml index 0c359a1..9bd74f1 100644 --- a/.gitea/workflows/push_non_master.yaml +++ b/.gitea/workflows/push_non_master.yaml @@ -25,8 +25,8 @@ jobs: - uses: https://github.com/dtolnay/rust-toolchain@stable with: - toolchain: ${{ steps.read_rust_toolchain.outputs.value }} - components: ${{ steps.read_rust_components.outputs.value }} + targets: ${{ join(fromJSON(steps.read_rust_toolchain.outputs.value), ',' ) }} + components: ${{ join(fromJSON(steps.read_rust_components.outputs.value), ',' ) }} - name: Build run: cargo build \ No newline at end of file