Skip to content

Commit

Permalink
use rust cache in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeastLT committed Jun 2, 2023
1 parent 323f8c3 commit adba585
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
run: rustup component add rustfmt
- name: Install clippy
run: rustup component add clippy
- name: Rust cache
uses: Swatinem/rust-cache@v2
- name: Build code
run: cargo build
- name: Lint code format
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
run: rustup target add i686-linux-android
- name: Add x86_64 target
run: rustup target add x86_64-linux-android
- name: Rust cache
uses: Swatinem/rust-cache@v2
- name: Build aar
run: ./gradlew assembleRelease
- name: Upload build artifacts
Expand Down

0 comments on commit adba585

Please sign in to comment.