Skip to content

Commit

Permalink
change build directories
Browse files Browse the repository at this point in the history
  • Loading branch information
p- committed Jan 31, 2025
1 parent 11381f8 commit e04a8d0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
cp as/*.tsv bin/amd64/as/
cp as/*.tsv bin/arm64/as/
mkdir artifacts
tar czf artifacts/socket-connect-bpf-linux-amd64.tar.gz --exclude '.*' --directory=bin/amd64/ .
tar czf artifacts/socket-connect-bpf-linux-arm64.tar.gz --exclude '.*' --directory=bin/arm64/ .
tar czf artifacts/socket-connect-bpf-linux-amd64.tar.gz --directory=bin/amd64/ .
tar czf artifacts/socket-connect-bpf-linux-arm64.tar.gz --directory=bin/arm64/ .
- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ all: build test

build:
go generate
mkdir bin/amd64/
GOOS=linux GOARCH=amd64 go build -o bin/amd64/${BINARY_NAME}
mkdir bin/arm64/
GOOS=linux GOARCH=arm64 go build -o bin/arm64/${BINARY_NAME}

test:
Expand Down
File renamed without changes.
Empty file removed bin/arm64/.gitkeep
Empty file.

0 comments on commit e04a8d0

Please sign in to comment.