From 2b2385d1edf29d47ad10fe8d16bb1e935a037f4d Mon Sep 17 00:00:00 2001 From: hodasemi Date: Thu, 13 Feb 2025 08:15:51 +0100 Subject: [PATCH] Only use targets in pipeline --- .gitea/workflows/push_master.yaml | 7 ------- .gitea/workflows/push_non_master.yaml | 7 ------- 2 files changed, 14 deletions(-) diff --git a/.gitea/workflows/push_master.yaml b/.gitea/workflows/push_master.yaml index 733df85..986f3d1 100644 --- a/.gitea/workflows/push_master.yaml +++ b/.gitea/workflows/push_master.yaml @@ -17,16 +17,9 @@ jobs: file: rust-toolchain.toml field: toolchain.targets - - uses: https://github.com/SebRollen/toml-action@v1.2.0 - id: read_rust_components - with: - file: rust-toolchain.toml - field: toolchain.components - - uses: https://github.com/dtolnay/rust-toolchain@stable with: 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 diff --git a/.gitea/workflows/push_non_master.yaml b/.gitea/workflows/push_non_master.yaml index 9bd74f1..8ed417b 100644 --- a/.gitea/workflows/push_non_master.yaml +++ b/.gitea/workflows/push_non_master.yaml @@ -17,16 +17,9 @@ jobs: file: rust-toolchain.toml field: toolchain.targets - - uses: https://github.com/SebRollen/toml-action@v1.2.0 - id: read_rust_components - with: - file: rust-toolchain.toml - field: toolchain.components - - uses: https://github.com/dtolnay/rust-toolchain@stable with: 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