Skip to content

Commit f2cd4e6

Browse files
authored
remove obsolete JSON files from artifact (#34)
1 parent e9a51b9 commit f2cd4e6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/dotnetcore.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
- name: Complete SonarScanner
4646
run: SonarScanner.MSBuild.exe end /d:sonar.login=${{ secrets.SONAR_TOKEN }}
4747

48+
- name: Prepare artifact
49+
run: Get-ChildItem .\src\SimpleAccounting\bin\Release\netcoreapp3.1 -Filter *.json | % { if ($_.FullName.EndsWith("runtimeconfig.json") -eq $false) { Remove-Item $_.FullName } }
50+
shell: pwsh
4851
- name: Upload artifacts
4952
uses: actions/upload-artifact@v1
5053
with:

0 commit comments

Comments
 (0)