Implement elemental-register upgrade #2365
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: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- uses: actions/cache@v4 | |
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 | |
run: make build | |
- name: Store operator binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: elemental-operator | |
path: build/elemental-operator | |
overwrite: true | |
- name: Store register binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: elemental-register | |
path: build/elemental-register | |
overwrite: true | |
- name: Store support binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: elemental-support | |
path: build/elemental-support | |
overwrite: true |