Skip to content

Commit

Permalink
ci: add github action for Windows OS build
Browse files Browse the repository at this point in the history
We also exclude packaging for windows builds
  • Loading branch information
r-vasquez committed Jul 6, 2022
1 parent 76af5e4 commit f5bba5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rpk-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: Test and Build
strategy:
matrix:
os: [linux, darwin]
os: [linux, darwin, windows]
arch: [amd64, arm64]
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -56,6 +56,7 @@ jobs:
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} ./build.sh $tag ${{ github.sha }}
- name: Package
if: ${{ ! matrix.os == 'windows'}}
working-directory: src/go/rpk/
run: |
zip -j rpk-${{ matrix.os }}-${{ matrix.arch }}.zip ./${{ matrix.os }}-${{ matrix.arch }}/rpk
Expand Down

0 comments on commit f5bba5e

Please sign in to comment.