Skip to content

Commit e793614

Browse files
ci: use gmake only on self-hosted runners
1 parent 8b47b89 commit e793614

File tree

1 file changed

+1
-1
lines changed
  • .github/actions/make/set-make-executable

1 file changed

+1
-1
lines changed

.github/actions/make/set-make-executable/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
- name: set make executable based on OS
88
shell: bash
99
run: |
10-
if [ "$RUNNER_OS" = "macOS" ]; then
10+
if [ "$RUNNER_OS" = "macOS" ] && [ "$RUNNER_ENVIRONMENT" = "self-hosted" ]; then
1111
MAKE_CMD="gmake"
1212
else
1313
MAKE_CMD="make"

0 commit comments

Comments
 (0)