Fix path for local node12 actions (#371)

Fixes #185

Signed-off-by: Javier Romero <root@jromero.codes>
This commit is contained in:
Javier Romero
2020-09-29 15:39:45 -05:00
committed by GitHub
parent 32c41d22d6
commit 729adec5e5
15 changed files with 6206 additions and 10 deletions

View File

@@ -7,12 +7,16 @@ PATCH_VERSION = $(word 3, $(subst ., ,$(word 1,$(subst -, , $(VERSION)))))
NEW_VERSION ?= $(MAJOR_VERSION).$(MINOR_VERSION).$(shell echo $$(( $(PATCH_VERSION) + 1)) )
ACT ?= go run main.go
export GITHUB_TOKEN = $(shell cat ~/.config/github/token)
export GITHUB_TOKEN := $(shell cat ~/.config/github/token)
.PHONY: build
build:
go build -ldflags "-X main.version=$(VERSION)" -o dist/local/act main.go
.PHONY: format
format:
go fmt ./...
.PHONY: test
test:
go test ./...