Add github token (#19)

* Add run-id parameter to coverage

* Add github token to coverage workflow

* Add run-id to coverage

* Update download-artifact action to version 4.3.0

* bump upload-artifact action to v4.6.2
This commit is contained in:
Deverick 2025-05-26 05:22:05 -05:00 committed by napoly
parent c0fab73d8c
commit ca69ba6db1
2 changed files with 3 additions and 2 deletions

View file

@ -16,9 +16,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download coverage report
uses: actions/download-artifact@v4
uses: actions/download-artifact@v4.3.0
with:
name: coverage-report
github-token: ${{ secrets.API_GITHUB }}
run-id: ${{ github.event.workflow_run.id }}
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1.3.0

View file

@ -51,7 +51,7 @@ jobs:
run: docker compose -f BTCPayServer.Plugins.IntegrationTests/docker-compose.yml down -v
- name: Upload coverage report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.6.2
with:
name: coverage-report
path: coverage/coverage.cobertura.xml