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 dab91d2 commit a6a2164
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,25 @@ jobs:
with:
repository: rizinorg/rizin
ref: refs/heads/dev
path: ${{ github.workspace }}/rizin
path: rizin
- name: Cache rizin
id: cache-rizin
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/rizin/build
path: rizin/build
key: ${{ runner.os }}-rizin
save-always: true
- name: Build rizin
working-directory: ${{ github.workspace }}/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
- name: Setup Rust nightly
run: |
rustup toolchain install nightly --profile minimal
Expand Down

0 comments on commit a6a2164

Please sign in to comment.