mirror of
https://github.com/drone-plugins/drone-webhook.git
synced 2026-06-04 18:24:05 +08:00
Fix null volumes on windows
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ local golang_image(os, version) =
|
||||
test(os='linux', arch='amd64', version='')::
|
||||
local is_windows = windows(os);
|
||||
local golang = golang_image(os, version);
|
||||
local volumes = if !is_windows then [{name: 'gopath', path: '/go',}];
|
||||
local volumes = if !is_windows then [{name: 'gopath', path: '/go',}] else [];
|
||||
{
|
||||
kind: 'pipeline',
|
||||
name: test_pipeline_name,
|
||||
|
||||
Reference in New Issue
Block a user