diff --git a/.github/workflows/crates-io.yml b/.github/workflows/crates-io.yml index b217374..009d67f 100644 --- a/.github/workflows/crates-io.yml +++ b/.github/workflows/crates-io.yml @@ -1,6 +1,10 @@ name: Crates.io -on: workflow_dispatch +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 env: CARGO_TERM_COLOR: always diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 04dd749..83dd5bb 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -1,6 +1,10 @@ name: PyPi -on: workflow_dispatch +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 jobs: linux: diff --git a/.github/workflows/release-pr.yaml b/.github/workflows/release-pr.yaml deleted file mode 100644 index 45d138f..0000000 --- a/.github/workflows/release-pr.yaml +++ /dev/null @@ -1,29 +0,0 @@ - -name: Open a release PR -on: - workflow_dispatch: - inputs: - version: - description: Version to release - required: true - type: string - -jobs: - make-release-pr: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - name: Install cargo-release - uses: taiki-e/install-action@v1 - with: - tool: cargo-release - - name: Run Release PR - uses: cargo-bins/release-pr@v2 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - version: ${{ inputs.version }} - pr-release-notes: true - pr-merge-strategy: squash \ No newline at end of file