Add setup information to readme #5
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: Generate ConfigMap | |
on: [push] | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21.x' | |
- name: Build Generator | |
run: go build -o bin/generator ./generator/generator.go | |
- name: Generate ConfigMap | |
run: ./bin/generator | |
# Commit all changed files back to the repository | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
id: auto_commit | |
with: | |
branch: main |