Commit 58907a7
committed
ci: make release build with read-only cache
The setup-nx-remote-cache action chose between read-write and read-only
connection strings based solely on event-name, making it impossible to
opt into read-only mode on a push event (e.g. a tag-triggered release
calling build.yml via workflow_call). Add cache-mode to the condition so
read-only is used whenever cache-mode is 'read-only', regardless of
event type.1 parent f7465ca commit 58907a7
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
0 commit comments