Skip to content

Commit

Permalink
prep the build cache folder in advance
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephMoniz committed Oct 4, 2023
1 parent b4f6527 commit 9efb7d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create the build cache directory
run: |
mkdir build-cache
sudo chmod -R ugo+rwx ./build-cache
- name: Cache docker
id: cache-docker
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ shell: build-dev
@IMAGE=$(IMAGE) ./docker/run.sh bash

.PHONY: build-image-ci
build-image-ci: build-dev
build-image-ci: build-image
docker save "$(IMAGE)" | gzip > ./build-cache/docker-image.tar.gz

.PHONY: build-tests
Expand Down

0 comments on commit 9efb7d4

Please sign in to comment.