Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update build scripts #95

Merged
merged 7 commits into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop
- stable
pull_request:
types: [opened, synchronize, reopened]

Expand Down Expand Up @@ -47,9 +48,6 @@ jobs:
with:
useConfigFile: true

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1

- name: Use NuGet > 5.0.0
uses: nuget/setup-nuget@v1

Expand Down Expand Up @@ -83,9 +81,9 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} # Needed to get PR information, if any
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
shell: powershell
run: >
run: >
.\.sonar\scanner\dotnet-sonarscanner
begin /k:"mkromis_MinoriEditorShell" /o:"mkromis"
begin /k:"mkromis_MinoriEditorShell" /o:"mkromis"
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
/d:sonar.cs.opencover.reportsPaths=**/coverage.opencover.xml
/v:${{steps.gitversion.outputs.semVer}}
Expand Down Expand Up @@ -125,11 +123,6 @@ jobs:
cp Demos\MinoriDemo\MinoriDemo.WPF\bin\Release\net7.0-windows Artifacts\$basedir\Demos\MinoriDemo.WPF -Recurse
cp Demos\MinoriDemo\MinoriDemo.RibbonWPF\bin\Release\net7.0-windows Artifacts\$basedir\Demos\MinoriDemo.RibbonWPF -Recurse

# Compress folder into 7z file
cd Artifacts
7z a "$basedir.7z" $basedir
cd ..

- name: Test
run: dotnet test ${{env.solution}} --collect:"XPlat Code Coverage" --settings coverlet.runsettings

Expand All @@ -144,5 +137,5 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: MinoriEditorShell
path: Artifacts/*.7z
path: Artifacts/*
if-no-files-found: error
74 changes: 0 additions & 74 deletions .github/workflows/deploy.yml

This file was deleted.

Loading