Skip to content

Commit

Permalink
Fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
GlassOfWhiskey committed May 8, 2024
1 parent 18cc0c9 commit 00f44b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
pypi:
name: "Publish on PyPI"
runs-on: ubuntu-22.04
environment:
name: pypi
url: https://pypi.org/project/streamflow-project
permissions:
id-token: write
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
Expand All @@ -55,6 +60,3 @@ jobs:
- name: "Publish package to PyPI"
uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ env.PLUGIN_VERSION != env.PYPI_VERSION }}
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion lint-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
black==24.4.2
codespell==2.2.5
codespell==2.2.6
flake8-bugbear==24.4.26
pyupgrade==3.15.2
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==8.0.1
pytest==8.1.1
pytest-asyncio==0.21.1
pytest-cov==5.0.0
pytest-xdist==3.6.1

0 comments on commit 00f44b3

Please sign in to comment.