Update dotnet publish command for workflow #153
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 Core Desktop | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| PROJECT_PATH: VTOL_2.0.0/VTOL.csproj | |
| jobs: | |
| deploy: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - run: mkdir -p /actions | |
| - uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: 6.0.x | |
| - run: dotnet restore ${{ env.PROJECT_PATH }} | |
| - run: dotnet publish -c Release -r win-x64 --output "/actions" ${{ env.PROJECT_PATH }} | |
| - run: dir /actions | |
| - uses: actions/checkout@v4 | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: VTOL_NIGHTLY-artifact | |
| path: /actions/VTOL.exe |