Skip to content

Commit

Permalink
ci: fix codecov & release secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianpfischer committed May 29, 2024
1 parent f92a318 commit 4f88e83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 30 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ jobs:
# Upload the test result
- name: Upload test-result to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/verification_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ jobs:
run: poetry install --all-extras

- name: Update to Pypi
run: poetry publish --no-interaction --build --username __token__ --password ${{ secrets.pypi_token }}
run: poetry publish --no-interaction --build --username __token__ --password ${{ secrets.PYPI_TOKEN }}
29 changes: 0 additions & 29 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,35 +85,6 @@ pipeline
}
}
}
stage('Release')
{
when
{
buildingTag()
}
parallel
{
stage('Release package')
{
steps
{
script
{
withCredentials([string(
credentialsId: 'pypi-bot-token',
variable: 'token')])
{
sh "poetry publish \
--no-interaction \
--build \
--username __token__\
--password ${token}"
}
}
}
}
} // parallel
} // Release
} // stages

post // Called at very end of the script to notify developer and github about the result of the build
Expand Down

0 comments on commit 4f88e83

Please sign in to comment.