Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
masahide committed Sep 8, 2024
1 parent 1a965ba commit a09a5a1
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
echo "ls build/bin" >> $env:GITHUB_STEP_SUMMARY
ls "build/bin">> $env:GITHUB_STEP_SUMMARY
build-linux:
build-unix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -66,9 +66,15 @@ jobs:
- name: build
run: |
CGO_ENABLED=0 go build -o build/bin/wsl2-ssh-agent-proxy ./cmd/wsl2-ssh-agent-proxy
CGO_ENABLED=0 go build -o build/bin/agent-bench ./cmd/agent-bench
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 build -o build/bin/agent-bench ./cmd/agent-bench-linux-arm64
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 build -o build/bin/agent-bench ./cmd/agent-bench-linux-amd64
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o build/bin/agent-bench ./cmd/agent-bench-mac-arm64
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o build/bin/agent-bench ./cmd/agent-bench-mac-amd64
gzip build/bin/wsl2-ssh-agent-proxy
gzip build/bin/agent-bench
gzip build/bin/agent-bench-win-arm64
gzip build/bin/agent-bench-win-amd64
gzip build/bin/agent-bench-mac-arm64
gzip build/bin/agent-bench-mac-amd64
- uses: actions/upload-artifact@v4
with:
name: build-files-linux
Expand All @@ -81,7 +87,7 @@ jobs:
create-release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-22.04
needs: [build-exe, build-linux]
needs: [build-exe, build-unix]
steps:
- uses: actions/checkout@v4
- name: Download All Artifacts
Expand Down

0 comments on commit a09a5a1

Please sign in to comment.