File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
projects/version-transformer.com Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ if (env['GITHUB_TOKEN']) {
121121 env['GH_TOKEN'] = env['GITHUB_TOKEN']
122122}
123123
124+ config.path.cache.mkdir('p') // we’ve indeed found things to break without this
125+
124126const proc = new Deno.Command(script.string, {clearEnv: true, env}).spawn()
125127const rv = await proc.status
126128if (!rv.success) throw new Error(`${rv.code} ${rv.signal}`)
Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ if (env['GITHUB_TOKEN']) {
9999 env['GH_TOKEN'] = env['GITHUB_TOKEN']
100100}
101101
102+ config.path.cache.mkdir('p') // we’ve indeed found things to break without this
103+
102104const proc = new Deno.Command(script.string, {clearEnv: true, env}).spawn()
103105const rv = await proc.status
104106if (!rv.success) throw new Error(`${rv.code} ${rv.signal}`)
Original file line number Diff line number Diff line change 88 echo {{version}} > VERSION
99
1010test :
11- test $(cat {{prefix}}/VERSION) = {{version}}
11+ - test $(cat {{prefix}}/VERSION) = {{version}}
12+
13+ # test that cache directories are created in our sandbox
14+ - run : touch ~/.cache/foo
15+ if : linux
16+ - run : touch ~/Library/Caches/foo
17+ if : darwin
You can’t perform that action at this time.
0 commit comments