diff --git a/.github/workflows/wheel_linux_aarch64.yml b/.github/workflows/wheel_linux_aarch64.yml index dca8b650e2..bc21a56822 100644 --- a/.github/workflows/wheel_linux_aarch64.yml +++ b/.github/workflows/wheel_linux_aarch64.yml @@ -184,7 +184,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' with: @@ -202,7 +202,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_linux_aarch64_cuda.yml b/.github/workflows/wheel_linux_aarch64_cuda.yml index fb590f19ec..4864fa0167 100644 --- a/.github/workflows/wheel_linux_aarch64_cuda.yml +++ b/.github/workflows/wheel_linux_aarch64_cuda.yml @@ -107,7 +107,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' with: @@ -128,7 +128,7 @@ jobs: permissions: id-token: write if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_linux_x86_64.yml b/.github/workflows/wheel_linux_x86_64.yml index 30c82fb9fe..92832fd0eb 100644 --- a/.github/workflows/wheel_linux_x86_64.yml +++ b/.github/workflows/wheel_linux_x86_64.yml @@ -198,7 +198,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || steps.rc_build.outputs.match != '' @@ -217,7 +217,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_linux_x86_64_cuda.yml b/.github/workflows/wheel_linux_x86_64_cuda.yml index c76be71da8..abd30c9c65 100644 --- a/.github/workflows/wheel_linux_x86_64_cuda.yml +++ b/.github/workflows/wheel_linux_x86_64_cuda.yml @@ -119,7 +119,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || steps.rc_build.outputs.match != '' @@ -141,7 +141,7 @@ jobs: permissions: id-token: write if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_macos_arm64.yml b/.github/workflows/wheel_macos_arm64.yml index 281e910891..0a6945c3c6 100644 --- a/.github/workflows/wheel_macos_arm64.yml +++ b/.github/workflows/wheel_macos_arm64.yml @@ -126,7 +126,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' with: @@ -144,7 +144,7 @@ jobs: cibw_build: ${{ fromJson(needs.mac-set-matrix-arm.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_macos_x86_64.yml b/.github/workflows/wheel_macos_x86_64.yml index 30343ada19..ce247522a4 100644 --- a/.github/workflows/wheel_macos_x86_64.yml +++ b/.github/workflows/wheel_macos_x86_64.yml @@ -184,7 +184,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || steps.rc_build.outputs.match != '' @@ -203,7 +203,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_noarch.yml b/.github/workflows/wheel_noarch.yml index 50bf7f1d5a..0414fcd7b8 100644 --- a/.github/workflows/wheel_noarch.yml +++ b/.github/workflows/wheel_noarch.yml @@ -86,7 +86,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | matrix.pl_backend == 'lightning_qubit' && - (github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master') + (github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master') with: name: pure-python-wheels-${{ matrix.pl_backend }}.zip path: dist/*.whl @@ -102,7 +102,7 @@ jobs: steps: - uses: actions/download-artifact@v4 - if: ${{ matrix.pl_backend == 'lightning_qubit' && github.event_name == 'pull_request' }} + if: ${{ matrix.pl_backend == 'lightning_qubit' && github.event_name == 'release' }} with: name: pure-python-wheels-${{ matrix.pl_backend }}.zip path: dist diff --git a/.github/workflows/wheel_win_x86_64.yml b/.github/workflows/wheel_win_x86_64.yml index 4c6c5371a1..d2464ce9cf 100644 --- a/.github/workflows/wheel_win_x86_64.yml +++ b/.github/workflows/wheel_win_x86_64.yml @@ -206,7 +206,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || steps.rc_build.outputs.match != '' @@ -225,7 +225,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index b5d5a365df..ce245aae35 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.39.0-rc7" +__version__ = "0.39.0"