Skip to content

Commit

Permalink
ci: seems to work, refactor a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Nov 4, 2024
1 parent 5cda060 commit 515e573
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SPEX_GIT_COMMIT ?= $(shell git rev-parse HEAD)
ifeq ($(findstring mingw64_nt,$(OS)),mingw64_nt)
SHELL := pwsh.exe
.SHELLFLAGS := -Command
GITHUB_OUTPUT := $$env:GITHUB_OUTPUT
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
Expand Down Expand Up @@ -89,7 +90,7 @@ bump:
ifdef RELEASED_VERSION
ifneq ($(CABAL_VERSION),$(RELEASED_VERSION))
@echo "New version!"
echo "new-version=$(CABAL_VERSION)" >> $$env:GITHUB_OUTPUT
echo "new-version=$(CABAL_VERSION)" >> $(GITHUB_OUTPUT)
endif
endif
endif
Expand Down

0 comments on commit 515e573

Please sign in to comment.