mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 00:50:03 +01:00
ci(github): install cross from release page ⚡
Instead of compiling `cross` via `cargo install`, downloading binary executable from release page will speedup the CI
This commit is contained in:
parent
8bd035f51d
commit
b163775112
6
.github/workflows/docker-publish.yml
vendored
6
.github/workflows/docker-publish.yml
vendored
@ -14,7 +14,11 @@ jobs:
|
||||
- x86_64-unknown-linux-gnu
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: cargo install cross
|
||||
- name: Install rust-embedded/cross
|
||||
env: { VERSION: v0.1.16 }
|
||||
run: >-
|
||||
wget -nv https://github.com/rust-embedded/cross/releases/download/${VERSION}/cross-${VERSION}-x86_64-unknown-linux-gnu.tar.gz
|
||||
-O- | sudo tar xz -C /usr/local/bin/
|
||||
- name: compile for specific target
|
||||
env: { arch: '${{ matrix.arch }}' }
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user