Skip to content

Commit

Permalink
Try to fix rust workflow cache
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow committed May 10, 2024
1 parent ff5d962 commit 5e6ce5b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ jobs:
repository: rizinorg/rizin
ref: refs/heads/dev
path: rizin
- name: Cache rizin
- uses: actions/cache/restore@v4
id: cache-rizin
uses: actions/cache@v2
with:
path: rizin/build
path: |
rizin/build
key: ${{ runner.os }}-rizin
- name: Build rizin
working-directory: rizin
run: |
pip install meson ninja PyYAML
meson setup --debug --buildtype=release --prefix=$(realpath $HOME/.local) build
ninja install -C build
- if: ${{ steps.cache-rizin.outputs.cache-hit != 'true' }}
working-directory: rizin
name: List the state
continue-on-error: true
run: ls build
- uses: actions/cache/save@v4
with:
path: |
rizin/build
key: ${{ steps.cache-rizin.outputs.cache-primary-key }}
- name: Setup Rust nightly
run: |
rustup toolchain install nightly --profile minimal
Expand Down

0 comments on commit 5e6ce5b

Please sign in to comment.