Skip to content

Commit 70a61f6

Browse files
committed
ci(appveyor): attempt to clear the cache depending on commit msg[clear ci-cache] <= this should clear ci cache
1 parent 5e7716f commit 70a61f6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# http://www.appveyor.com/docs/appveyor-yml
2+
init:
3+
- ps: IF ($env:APPVEYOR_REPO_COMMIT_MESSAGE -Match "\[clear ci-cache\]" ) {$env:APPVEYOR_CACHE_SKIP_RESTORE = "true"}
4+
- ps: IF ($env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED -Match "\[clear ci-cache\]") {$env:APPVEYOR_CACHE_SKIP_RESTORE = "true"}
25

36
# Test against these versions of Node.js.
47
environment:

0 commit comments

Comments
 (0)