Skip to content

Commit

Permalink
ci: again
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Nov 4, 2024
1 parent e11f604 commit 5cda060
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ SPEX_GIT_COMMIT ?= $(shell git rev-parse HEAD)

# https://github.com/actions/runner/issues/2224
# https://stackoverflow.com/questions/74443940/value-not-set-using-github-output
# ifeq ($(findstring mingw64_nt,$(OS)),mingw64_nt)
# SHELL := pwsh.exe
# .SHELLFLAGS := -Command
# else
# This default file is used for simulating GitHub actions outputs locally:
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/passing-information-between-jobs
GITHUB_OUTPUT ?= "$(TEMPDIR)/spex_github_output"
# Make make fail if the shell commands fail.
.SHELLFLAGS = -ec
#endif
ifeq ($(findstring mingw64_nt,$(OS)),mingw64_nt)
SHELL := pwsh.exe
.SHELLFLAGS := -Command
else
# This default file is used for simulating GitHub actions outputs locally:
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/passing-information-between-jobs
GITHUB_OUTPUT ?= "$(TEMPDIR)/spex_github_output"
# Make make fail if the shell commands fail.
.SHELLFLAGS = -ec
endif

ifeq ($(GITHUB_ACTIONS),true)
SPEX_BIN := "bin"
Expand Down

0 comments on commit 5cda060

Please sign in to comment.