diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62abfac..ec47c34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,8 +74,7 @@ jobs: - name: Build extension and zip run: | - GOOS=linux GOARCH=amd64 go build -o bin/extensions/invocation-history-extension main.go - chmod +x bin/extensions/invocation-history-extension + make build cd bin && zip -r extension.zip extensions/ - name: Upload release asset diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ba077a4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bin diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..44f1095 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +.PHONY: build + +build: + GOOS=linux GOARCH=amd64 go build -o bin/extensions/invocation-history-extension main.go + chmod +x bin/extensions/invocation-history-extension + cd bin && zip -r extension.zip extensions/