Add rust cache action
This commit is contained in:
parent
fe7fd3c63b
commit
717c5c54a5
|
|
@ -15,6 +15,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: cargo fmt --check
|
- run: cargo fmt --check
|
||||||
|
- uses: https://github.com/Swatinem/rust-cache@v2
|
||||||
- name: cross compile for ${{ matrix.target }}
|
- name: cross compile for ${{ matrix.target }}
|
||||||
run: cross build --target ${{ matrix.target }} --release
|
run: cross build --target ${{ matrix.target }} --release
|
||||||
- uses: actions/release-action@main
|
- uses: actions/release-action@main
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue