Skip to content

enhancement #132: fix version of windows and vs studio #2

enhancement #132: fix version of windows and vs studio

enhancement #132: fix version of windows and vs studio #2

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