Skip to content

[QE]fix github action error for Linux arm64 test #2280

[QE]fix github action error for Linux arm64 test

[QE]fix github action error for Linux arm64 test #2280

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.22'
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Build the chocolatey package
shell: powershell
run: make choco
- name: Upload nupkg artifact
uses: actions/upload-artifact@v4
with:
name: crc-chocolatey-nupkg
path: "./packaging/chocolatey/crc/*.nupkg"