Skip to content

Commit

Permalink
Update workflow to include API generation step
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Zautner committed Oct 16, 2024
1 parent dc61b43 commit 3564022
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: '1.21' # Make sure this matches your go.mod file

- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
Expand Down Expand Up @@ -55,6 +55,11 @@ jobs:
- name: Build
run: |
cd redfish-exporter
# Generate API
cd api
make
cd ..
# Main build
go mod tidy
go mod verify
make
Expand Down

0 comments on commit 3564022

Please sign in to comment.