Skip to content

Commit

Permalink
choco: add github actions job to test building the chocolatey package
Browse files Browse the repository at this point in the history
  • Loading branch information
anjannath authored and openshift-merge-robot committed Jan 18, 2023
1 parent ad5d477 commit 8957ea9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/windows-chocolatey.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Windows chocolatey
on:
push:
branches:
- "main"
pull_request: {}
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-2022
go:
- 1.17
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Build the chocolatey package
run: make choco
- name: Upload nupkg artifact
uses: actions/upload-artifact@v3
with:
name: crc-chocolatey-nupkg
path: "./packaging/chocolatey/crc/*.nupkg"

0 comments on commit 8957ea9

Please sign in to comment.