update to go 1.20 #814
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.20' | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Build the chocolatey package | |
shell: powershell | |
run: make choco | |
- name: Upload nupkg artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: crc-chocolatey-nupkg | |
path: "./packaging/chocolatey/crc/*.nupkg" |