mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 17:18:30 +01:00
Always install release tools
This commit is contained in:
parent
7fd04573cd
commit
f41299d7f9
1 changed files with 12 additions and 7 deletions
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
|
@ -92,17 +92,22 @@ jobs:
|
|||
path: ~/.cargo/registry
|
||||
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('Cargo.lock') }}
|
||||
|
||||
- uses: actions/cache@v2
|
||||
if: startsWith(matrix.name, 'linux-')
|
||||
with:
|
||||
path: ~/.cargo/bin
|
||||
key: ${{ runner.os }}-cargo-bin-${{ hashFiles('.github/workflows/release.yml') }}
|
||||
- name: Add musl tools
|
||||
run: sudo apt install -y musl musl-dev musl-tools
|
||||
if: endsWith(matrix.target, '-musl')
|
||||
- name: Add aarch-gnu tools
|
||||
run: sudo apt install -y gcc-aarch64-linux-gnu
|
||||
if: startsWith(matrix.target, 'aarch64-unknown-linux')
|
||||
- name: Add arm7hf-gnu tools
|
||||
run: sudo apt install -y gcc-arm-linux-gnueabihf
|
||||
if: startsWith(matrix.target, 'armv7-unknown-linux-gnueabihf')
|
||||
|
||||
- name: Install cargo-deb
|
||||
if: startsWith(matrix.name, 'linux-')
|
||||
run: which cargo-deb || cargo install cargo-deb --version 1.34.2 --locked
|
||||
run: cargo install cargo-deb --version 1.35.0 --locked
|
||||
- name: Install cargo-generate-rpm
|
||||
if: startsWith(matrix.name, 'linux-')
|
||||
run: which cargo-generate-rpm || cargo install cargo-generate-rpm --version 0.6.0 --locked
|
||||
run: cargo install cargo-generate-rpm --version 0.6.0 --locked
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue