Skip to content

Commit

Permalink
Attach binaries to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus committed Sep 24, 2023
1 parent e4c5749 commit 4ad38a6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: "1.20"
- run: go build -o bin/${{ matrix.arch }}/ ./cmd/buildctl ./cmd/buildkitd
- run: |
go build -o bin/buildctl-${{ matrix.arch }}/ ./cmd/buildctl
go build -o bin/buildkitd-${{ matrix.arch }}/ ./cmd/buildkitd
env:
GOOS: darwin
GOARCH: ${{ matrix.arch }}
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.arch }}
path: bin/*
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4ad38a6

Please sign in to comment.