Add TensorFlow 2.14 tests for TPU VM. (#972) #534
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
# Build generated files and push them to the gen branch. | |
name: Build Generated Files | |
on: | |
push: | |
branches: [master] | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Branch to gen | |
run: | | |
git branch -f gen | |
- name: Setup Go environment | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.17' | |
- name: Install JSonnet | |
run: | | |
go install github.com/google/go-jsonnet/cmd/jsonnet@latest | |
go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest | |
echo "$HOME/go/bin" >> $GITHUB_PATH | |
- name: Build JSonnet templates | |
run: | | |
scripts/gen-tests.sh | |
- name: Git Commit/Push Changes | |
uses: actions-x/commit@v5 | |
with: | |
branch: gen | |
files: k8s/ | |
force: true |