From cc1fcbc494ee941e8428565480117d8ef70f1793 Mon Sep 17 00:00:00 2001 From: Oliver Ruebel Date: Wed, 14 Feb 2024 11:28:44 -0800 Subject: [PATCH] Update deprecated actions in deploy and release yaml (#165) * Update deprecated actions in deploy and release yaml * Updated Changelog * Update CHANGELOG.md Co-authored-by: Steph Prince <40640337+stephprince@users.noreply.github.com> --------- Co-authored-by: Steph Prince <40640337+stephprince@users.noreply.github.com> --- .github/workflows/deploy_release.yml | 8 ++++---- CHANGELOG.md | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_release.yml b/.github/workflows/deploy_release.yml index 7a3e7399..f4a0f880 100644 --- a/.github/workflows/deploy_release.yml +++ b/.github/workflows/deploy_release.yml @@ -10,15 +10,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo with submodules - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'recursive' fetch-depth: 0 # tags are required for versioneer to determine the version - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install build dependencies run: | @@ -45,7 +45,7 @@ jobs: ls -1 dist # twine upload --repository-url https://test.pypi.org/legacy/ -u ${{ secrets.BOT_PYPI_USER }} -p ${{ secrets.BOT_PYPI_PASSWORD }} --skip-existing dist/* twine upload -u ${{ secrets.BOT_PYPI_USER }} -p ${{ secrets.BOT_PYPI_PASSWORD }} --skip-existing dist/* - + - name: Publish wheel and source distributions as a GitHub release run: | python -m pip install "githubrelease>=1.5.9" diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a734a7a..9eba411c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ * Adjusted gallery tests to not fail on deprecation warnings from pandas. @rly [#157](https://github.com/hdmf-dev/hdmf-zarr/pull/157) * Fixed bug in `pyproject.toml` where duplicate versions of `numcodec` where specified. @oruebel [#163](https://github.com/hdmf-dev/hdmf-zarr/pull/163) +### Internal Fixes +* Updated actions in `deploy_release.yml` workflow to avoid use of deprecated Node.js 16. @oruebel [#165](https://github.com/hdmf-dev/hdmf-zarr/pull/165) + + ## 0.5.0 (December 8, 2023) ### Enhancements