From 334d8a345e70084283a4930333f7c4a7587142e9 Mon Sep 17 00:00:00 2001 From: Niko Sirmpilatze Date: Thu, 1 Feb 2024 10:39:49 +0000 Subject: [PATCH] Bump action versions in upload_pypi (#38) * 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 - https://github.com/brainglobe/brainglobe-template-builder/pull/11 - https://github.com/brainglobe/brainglobe-template-builder/pull/12 * bump pypi action version to 1.8.11 in example workflow --------- Co-authored-by: Alessandro Felder --- example_test_and_deploy.yml | 4 ++-- upload_pypi/action.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example_test_and_deploy.yml b/example_test_and_deploy.yml index c255448..c38d6e3 100644 --- a/example_test_and_deploy.yml +++ b/example_test_and_deploy.yml @@ -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 }} diff --git a/upload_pypi/action.yml b/upload_pypi/action.yml index 7b3cb0c..ecc9e99 100644 --- a/upload_pypi/action.yml +++ b/upload_pypi/action.yml @@ -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 }}