Skip to content

Commit 98a9d2f

Browse files
authored
Improve build process stability (#36)
1 parent 4cafed0 commit 98a9d2f

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/codacy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ permissions:
1313

1414
jobs:
1515
report-coverage:
16+
if: github.repository == 'btcpay-monero/btcpayserver-monero-plugin' && github.event.workflow_run.conclusion == 'success'
1617
runs-on: ubuntu-latest
1718
steps:
1819
- name: Download coverage report
19-
uses: actions/download-artifact@v4.3.0
20+
uses: actions/download-artifact@v4
2021
with:
2122
name: coverage-report
2223
github-token: ${{ secrets.API_GITHUB }}
2324
run-id: ${{ github.event.workflow_run.id }}
2425
- name: Run codacy-coverage-reporter
25-
uses: codacy/codacy-coverage-reporter-action@v1.3.0
26+
uses: codacy/codacy-coverage-reporter-action@v1
2627
with:
2728
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
2829
coverage-reports: dotcover.xml

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
run: docker compose -f BTCPayServer.Plugins.IntegrationTests/docker-compose.yml down -v
5353

5454
- name: Upload coverage report
55-
uses: actions/upload-artifact@v4.6.2
55+
uses: actions/upload-artifact@v4
5656
with:
5757
name: coverage-report
5858
path: coverage/dotcover.xml
5959

6060
- name: Upload NuGet package
61-
uses: actions/upload-artifact@v4.6.2
61+
uses: actions/upload-artifact@v4
6262
with:
6363
name: nuget-package-${{ github.sha }}
6464
path: nuget-packages/BTCPayServer.Plugins.Monero.1.0.0.nupkg

Plugins/Monero/BTCPayServer.Plugins.Monero.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<!-- Plugin development properties -->
1515
<PropertyGroup>
1616
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
17+
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
1718
<PreserveCompilationContext>false</PreserveCompilationContext>
1819
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
1920
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>

0 commit comments

Comments
 (0)