Only use targets in pipeline
Some checks failed
Build on master branch / Build (push) Failing after 59m40s

This commit is contained in:
hodasemi 2025-02-13 08:15:51 +01:00
parent d106fff1fc
commit 2b2385d1ed
2 changed files with 0 additions and 14 deletions

View file

@ -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

View file

@ -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