From dd3169f1228adbac0e7d5adf91a9db0af7991491 Mon Sep 17 00:00:00 2001 From: Sebastien Roy Date: Wed, 9 Oct 2024 15:13:41 -0400 Subject: [PATCH] remove test hack --- .github/workflows/release.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 845a1f2..fe308a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,9 @@ # the name of this file must match the one in pypi.org config name: Build/Test/Release -on: [push] - # on: - # release: - # types: - # - published +on: + release: + types: + - published permissions: id-token: write # This is required for requesting the JWT jobs: @@ -29,8 +28,8 @@ jobs: env: BUILD_OS: ${{ matrix.os }} CXX: ${{ matrix.compiler }} -# - name: Publish source dist release distributions to PyPI -# uses: pypa/gh-action-pypi-publish@release/v1 + # - name: Publish source dist release distributions to PyPI + # uses: pypa/gh-action-pypi-publish@release/v1 wheels_build: name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} @@ -52,7 +51,7 @@ jobs: config-file: "{package}/pyproject.toml" env: MACOSX_DEPLOYMENT_TARGET: ${{ matrix.max }} -# - name: Publish wheel release distributions to PyPI -# uses: pypa/gh-action-pypi-publish@release/v1 -# with: -# packages-dir: wheelhouse + - name: Publish wheel release distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: wheelhouse