diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index a4304436..af73a723 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -13,13 +13,13 @@ jobs: linting: runs-on: ubuntu-latest steps: - - uses: neuroinformatics-unit/actions/lint@v2.0.0 + - uses: neuroinformatics-unit/actions/lint@v2 manifest: name: Check Manifest runs-on: ubuntu-latest steps: - - uses: neuroinformatics-unit/actions/check_manifest@v2.0.0 + - uses: neuroinformatics-unit/actions/check_manifest@v2 test: needs: [linting, manifest] @@ -38,7 +38,7 @@ jobs: ~/.NeuralPlayground/* key: cached-test-data enableCrossOsArchive: true - - uses: neuroinformatics-unit/actions/test@v2.0.0 + - uses: neuroinformatics-unit/actions/test@v2 with: python-version: ${{ matrix.python-version }} use-xvfb: true @@ -49,18 +49,13 @@ jobs: if: github.event_name == 'push' && github.ref_type == 'tag' runs-on: ubuntu-latest steps: - - uses: neuroinformatics-unit/actions/build_sdist_wheels@v2.0.0 + - uses: neuroinformatics-unit/actions/build_sdist_wheels@v2 upload_all: name: Publish build distributions needs: [build_sdist_wheels] runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: neuroinformatics-unit/actions/upload_pypi@v2 with: - name: artifact - path: dist - - uses: pypa/gh-action-pypi-publish@v1.5.0 - with: - user: __token__ - password: ${{ secrets.TWINE_API_KEY }} + secret-pypi-key: ${{ secrets.TWINE_API_KEY }}