Only use targets in pipeline
Some checks failed
Build on master branch / Build (push) Failing after 59m40s
Some checks failed
Build on master branch / Build (push) Failing after 59m40s
This commit is contained in:
parent
d106fff1fc
commit
2b2385d1ed
2 changed files with 0 additions and 14 deletions
|
@ -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
|
|
@ -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
|
Loading…
Reference in a new issue