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 4ae0e7c commit 6f4e571
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: "1.20"
- run: go build -o bin/${{ matrix.arch }}/ ./cmd/containerd-shim-rund-v1.go
- run: go build -o bin/containerd-shim-rund-v1-${{ matrix.arch }} ./cmd/containerd-shim-rund-v1.go
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 6f4e571

Please sign in to comment.