@@ -10,32 +10,32 @@ CSI_PKG := lib/go/csi
10
10
# This is the target for building the temporary CSI protobuf file.
11
11
#
12
12
# The temporary file is not versioned, and thus will always be
13
- # built on Travis-CI .
13
+ # built on GitHub Actions .
14
14
$(CSI_PROTO ) .tmp : $(CSI_SPEC ) Makefile
15
15
echo " // Code generated by make; DO NOT EDIT." > " $@ "
16
16
cat $< | sed -n -e ' /```protobuf$$/,/^```$$/ p' | sed ' /^```/d' >> " $@ "
17
17
18
18
# This is the target for building the CSI protobuf file.
19
19
#
20
20
# This target depends on its temp file, which is not versioned.
21
- # Therefore when built on Travis-CI the temp file will always
22
- # be built and trigger this target. On Travis-CI the temp file
21
+ # Therefore when built on GitHub Actions the temp file will always
22
+ # be built and trigger this target. On GitHub Actions the temp file
23
23
# is compared with the real file, and if they differ the build
24
24
# will fail.
25
25
#
26
26
# Locally the temp file is simply copied over the real file.
27
27
$(CSI_PROTO ) : $(CSI_PROTO ) .tmp
28
- ifeq (true,$(TRAVIS ) )
28
+ ifeq (true,$(GITHUB_ACTIONS ) )
29
29
diff "$@" "$?"
30
30
else
31
31
diff "$@" "$?" > /dev/null 2>&1 || cp -f "$?" "$@"
32
32
endif
33
33
34
34
build : check
35
35
36
- # If this is not running on Travis-CI then for sake of convenience
36
+ # If this is not running on GitHub Actions then for sake of convenience
37
37
# go ahead and update the language bindings as well.
38
- ifneq (true,$(TRAVIS ) )
38
+ ifneq (true,$(GITHUB_ACTIONS ) )
39
39
build : build_cpp build_go
40
40
endif
41
41
0 commit comments