[2.8] Update GKE workflow for updating Rancher charts #208
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.x | |
- uses: actions/[email protected] | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: ${{ runner.os }}-build-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-build-go-${{ hashFiles('**/go.sum') }} | |
- name: Build GKE operator binary | |
run: make operator |