enhancement #132: fix version of windows and vs studio #2
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: Generate Protobuf C# Code | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
with: | |
vs-version: '[17.10,17.11)' | |
- name: Build solution | |
run: msbuild 'csharp\reachy_sdk\reachy_sdk.sln' /p:Configuration=Release | |
- name: Commit and push changes | |
run: | | |
git config --global user.name 'github-actions[bot]' | |
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | |
git add . | |
git commit -m "Generated Protobuf C# Code" || echo "No changes to commit" | |
git push |