Skip to content

Commit

Permalink
Mark runner as self-hosted on nektos/act
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 5, 2023
1 parent c5fc0d8 commit 3f2a402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ read_env() {
[ "${debug:-${DEBUG:-false}}" = "true" ] && debug=debug && update=true || debug=release
[ "${phpts:-${PHPTS:-nts}}" = "ts" ] && ts=zts && update=true || ts=nts
fail_fast="${fail_fast:-${FAIL_FAST:-false}}"
[[ -z "${ImageOS}" && -z "${ImageVersion}" ]] && _runner=self-hosted || _runner=github
[[ -z "${ImageOS}" && -z "${ImageVersion}" || -n ${ACT} ]] && _runner=self-hosted || _runner=github
runner="${runner:-${RUNNER:-$_runner}}"

if [[ "$runner" = "github" && $_runner = "self-hosted" ]]; then
Expand Down

0 comments on commit 3f2a402

Please sign in to comment.