Skip to content

Commit

Permalink
Merge pull request #78 from R2NorthstarTools/BigSpice-patch-7
Browse files Browse the repository at this point in the history
Update dotnet-desktop.yml
  • Loading branch information
BigSpice authored Oct 19, 2023
2 parents 275083d + 72b93ba commit 480f707
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,29 @@ on:

env:
PROJECT_PATH: VTOL_2.0.0/VTOL.csproj

jobs:
deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- run: mkdir -p /actions

- run: dotnet restore ${{ env.PROJECT_PATH }}

- run: dotnet build ${{ env.PROJECT_PATH }} -c Release --no-restore
# - run: dotnet build ${{ env.PROJECT_PATH }} -c Release --no-restore

- run: dotnet publish ${{ env.PROJECT_PATH }} -r win-x64 /p:PublishSingleFile=True --self-contained true --output "/actions"

- uses: actions/checkout@v3

- run: dotnet publish ${{ env.PROJECT_PATH }} -c Release --self-contained -r win-x64 -p:PublishSingleFile=true --no-build
- run: mkdir -p /actions

- uses: actions/upload-artifact@v3
with:
name: VTOL_RELEASE
path: /actions/VTOL.exe

0 comments on commit 480f707

Please sign in to comment.