We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa3ed15 commit 3ebbeecCopy full SHA for 3ebbeec
Makefile
@@ -43,10 +43,14 @@ SWIFT_FILES := $(addsuffix /Client.swift, $(SUBDIRS))
43
@echo "::debug:: make $@"
44
45
check-submodule: Submodule
46
+ifdef GITHUB_ACTIONS ## https://docs.github.com/en/actions/learn-github-actions/variables
47
+ @echo "::notice:: make $@"
48
+else
49
git submodule update --recursive --remote
50
@git add $^
51
@git commit -m "[Make]$$(git submodule status Submodule/github/rest-api-description)" && touch $^ || true
52
@echo "::notice:: make $@"
53
+endif
54
55
install: check-submodule $(SWIFT_FILES)
56
0 commit comments