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:
parent
c0fab73d8c
commit
ca69ba6db1
2 changed files with 3 additions and 2 deletions
3
.github/workflows/codacy.yml
vendored
3
.github/workflows/codacy.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/dotnet.yml
vendored
2
.github/workflows/dotnet.yml
vendored
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue