Skip to content

Commit

Permalink
Pass token from caller (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
atraplet authored May 18, 2024
1 parent dbd46ef commit 114457f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ "master" ]
workflow_call:
secrets:
codecov_token:
required: true

jobs:
build:
Expand All @@ -32,5 +35,5 @@ jobs:
if: matrix.os == 'ubuntu-latest'
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.codecov_token }}
slug: atraplet/ecos4j
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
build:
uses: atraplet/ecos4j/.github/workflows/build.yml@master
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}

release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 114457f

Please sign in to comment.