Skip to content

Commit

Permalink
Merge pull request #5 from michimani/feature/3/build-by-make-command
Browse files Browse the repository at this point in the history
build extension by make command #3
  • Loading branch information
michimani authored Dec 5, 2022
2 parents 75c4610 + 9d04ca5 commit aad0b4a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit aad0b4a

Please sign in to comment.