Merge pull request #27 from Flixl7/main #61
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: .NET | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - run: pwd | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v2 | |
| with: | |
| dotnet-version: 6.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore | |
| - name: Delete OculusDB.exe | |
| run: rm 'Oculus Downgrader/bin/Debug/net6.0/OculusDB.exe' | |
| - name: Delete msedgedriver.exe | |
| run: rm 'Oculus Downgrader/bin/Debug/net6.0/msedgedriver.exe' | |
| - name: Delete frontend | |
| run: rm -r 'Oculus Downgrader/bin/Debug/net6.0/frontend' | |
| - name: Upload net6.0.zip | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: net6.0 | |
| path: 'Oculus Downgrader/bin/Debug/net6.0' |