Compare commits
1 commit
bfcc6f94fd
...
0511511f09
| Author | SHA1 | Date | |
|---|---|---|---|
| 0511511f09 |
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ steps:
|
||||||
- name: compute cache key
|
- name: compute cache key
|
||||||
image: docker.io/library/elixir:1.18.3-otp-27
|
image: docker.io/library/elixir:1.18.3-otp-27
|
||||||
commands:
|
commands:
|
||||||
- mix_lock_hash=$(sha256sum mix.lock | cut -d ' ' -f 1)
|
- echo "$DRONE_REPO_OWNER/$DRONE_REPO_NAME" >> .cache_key
|
||||||
- echo "$DRONE_REPO_OWNER/$DRONE_REPO_NAME/$mix_lock_hash" >> .cache_key
|
- echo $(sha256sum mix.lock | cut -d ' ' -f 1) >> .cache_key
|
||||||
# Print cache key for debugging
|
# Print cache key for debugging
|
||||||
- cat .cache_key
|
- cat .cache_key
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue