Skip to content

Commit

Permalink
Always cache outside manual runs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamant-pwn committed Jul 24, 2024
1 parent c9a7472 commit 6c0d639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Cache build directory
if: github.event.inputs.use_cache == 'true'
if: github.event_name != 'workflow_dispatch' || github.event.inputs.use_cache == 'true'
uses: actions/cache@v3
with:
path: build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY . /rawhash2

RUN mkdir -p build && cd build \
&& cmake .. \
&& make -j 3
&& make -j 2

ENTRYPOINT ["./build/bin/rawhash2"]

Expand Down

0 comments on commit 6c0d639

Please sign in to comment.