Skip to content

Commit

Permalink
cache target dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ysawa0 committed Nov 5, 2023
1 parent 0893fbc commit f84aeda
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ jobs:
- name: Print Runner OS
run: echo "Runner OS is ${{ runner.os }}"

- name: Cache target dir
uses: actions/cache@v3
with:
path: |
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build Release
run: cargo build --release

Expand Down

0 comments on commit f84aeda

Please sign in to comment.