Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BigSpice authored Oct 19, 2023
1 parent aa54552 commit aa0a493
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,27 @@ on:
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: mkdir -p /actions
dotnet-version: 6.0.x

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

# - 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: dir /actions

- run: mkdir -p /actions
- uses: actions/checkout@v3

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit aa0a493

Please sign in to comment.