From efa639eb8cdc6b69b0a1b9baa15f1797357165c8 Mon Sep 17 00:00:00 2001 From: Christopher Rabotin Date: Tue, 21 Nov 2023 22:37:08 -0700 Subject: [PATCH] Trying to allow re-release manually --- .github/workflows/python.yml | 6 +++++- .github/workflows/rust.yaml | 3 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 0de70854..96e6aed1 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -95,6 +95,10 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.11" + + - name: Update cargo packages + run: cargo update + - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -136,7 +140,7 @@ jobs: release: name: Release runs-on: ubuntu-latest - if: ${{ startsWith(github.ref, 'refs/tags/') }} + if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch' needs: [linux, windows, macos, sdist] steps: - uses: actions/download-artifact@v3 diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 00ae169d..4f7b2f47 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -158,9 +158,6 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v3 - - - name: release-plz - uses: MarcoIeni/release-plz-action@v0.5.2 - name: Install stable toolchain uses: dtolnay/rust-toolchain@master