Regenerate all code #12
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: Regenerate all code | |
on: workflow_dispatch | |
jobs: | |
build: | |
timeout-minutes: 120 | |
runs-on: windows-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Setup .net core sdk | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Install packages | |
run: | | |
npm ci | |
- name: Generate code | |
shell: pwsh | |
run: | | |
./eng/Generate.ps1 | |
- name: Commit generated code | |
run: | | |
git config --global user.name 'actions-user' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -m "Regenerate all code (any successful run even without change will have a new commit)" | |
git push |