From 6247a40ccd3605362ad87118c8e0e449442d435e Mon Sep 17 00:00:00 2001 From: Greg Sleap Date: Thu, 17 Oct 2024 13:51:09 +1100 Subject: [PATCH] Final tweak to enable the rest of the release CI --- .github/workflows/releases.yml | 11 +++++------ CHANGELOG.md | 2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c46f8d4..fa13f3d 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -14,9 +14,8 @@ name: Releasev2 on: push: - branches: - - new_maturin_action_for_releases - pull_request: + tags: + - "v*" workflow_dispatch: permissions: @@ -192,7 +191,7 @@ jobs: create-github-release: name: Create a new github release runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tagsTEST/') }} + if: ${{ startsWith(github.ref, 'refs/tags/') }} needs: [build_linux, build_macos] environment: CI steps: @@ -215,7 +214,7 @@ jobs: pypi_release: name: PyPi Release runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tagsTEST/') }} + if: ${{ startsWith(github.ref, 'refs/tags/') }} needs: [create-github-release] steps: - uses: actions/download-artifact@v4 @@ -233,7 +232,7 @@ jobs: rust_release: name: Publish to crates.io runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tagsTEST/') }} + if: ${{ startsWith(github.ref, 'refs/tags/') }} needs: [create-github-release] environment: CI steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9440687..cc200c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ Changes in each release are listed below. * Fixed test that was failing under Arm64 * Removed Python 3.8 support as it is now end of life * Added tests for Python 3.13 +* Removed tests for macos-12 as it will be unsupported by github actions by end of 2024 +* Added tests for macos-15 ## 1.5.0 20-Aug-2024