Skip to content

Commit

Permalink
Bump action versions in upload_pypi (#38)
Browse files Browse the repository at this point in the history
* Bump action versions in upload_pypi

* Update example_test_and_deploy.yml with new upload action versions

* pin specific version of pypa upload action

* Update pypi publishing action to latest patch (#39)

* Update pypi publishing action to latest patch

See
- brainglobe/brainglobe-template-builder#11
- brainglobe/brainglobe-template-builder#12

* bump pypi action version to 1.8.11 in example workflow

---------

Co-authored-by: Alessandro Felder <alessandrofelder@users.noreply.github.com>
  • Loading branch information
niksirbi and alessandrofelder committed Feb 1, 2024
1 parent b7bc994 commit 334d8a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example_test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ jobs:
needs: [build_sdist_wheels]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
- uses: pypa/gh-action-pypi-publish@v1.5.0
- uses: pypa/gh-action-pypi-publish@v1.8.11
with:
user: __token__
password: ${{ secrets.TWINE_API_KEY }}
4 changes: 2 additions & 2 deletions upload_pypi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ secrets:
runs:
using: "composite"
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
- uses: pypa/gh-action-pypi-publish@v1.4.2
- uses: pypa/gh-action-pypi-publish@v1.8.11
with:
user: __token__
password: ${{ secrets.twine-api-key }}

0 comments on commit 334d8a3

Please sign in to comment.