Stop using LFS for ONNX; store model as regular file #1
This file contains hidden or 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: 'Build the solution' | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| SOL_DIR: 'inference/OpenLipSync.Inference/OpenLipSync.Inference' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '9.0.x' | |
| - name: Restore solution | |
| run: dotnet restore $SOL_DIR | |
| - name: Build solution | |
| run: dotnet build -c Release $SOL_DIR | |
| - name: Package solution | |
| run: dotnet pack -c Release $SOL_DIR | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| path: '**/**/*.nupkg' |