Skip to content

Commit

Permalink
Merge pull request #381 from kentico-ericd/build/upload-artifact
Browse files Browse the repository at this point in the history
Use Action to generate build artifact
  • Loading branch information
JosefDvorak authored May 13, 2024
2 parents ffcef81 + 5b51245 commit 20033d6
Show file tree
Hide file tree
Showing 15 changed files with 472 additions and 3,664 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
runs-on: windows-latest

steps:
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.2
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
Expand All @@ -34,3 +36,15 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Publish client application
run: |
cd .\KenticoInspector.WebApplication
dotnet publish KenticoInspector.WebApplication.csproj /p:PublishDir=..\publish -c Release -r win-x64 --self-contained true
mkdir "..\publish\ClientApp\dist"
cd .\ClientApp
Copy-Item ".\dist\*" -Recurse -Destination "..\..\publish\ClientApp\dist\"
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: KInspector
path: .\publish
24 changes: 0 additions & 24 deletions KenticoInspector.DesktopApplication/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions KenticoInspector.DesktopApplication/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions KenticoInspector.DesktopApplication/index.html

This file was deleted.

78 changes: 0 additions & 78 deletions KenticoInspector.DesktopApplication/main.js

This file was deleted.

Loading

0 comments on commit 20033d6

Please sign in to comment.