From dd11c09736b815274158b54eba16e662c65ed114 Mon Sep 17 00:00:00 2001 From: Richard Baltrusch Date: Sat, 22 Jun 2024 15:06:09 +0200 Subject: [PATCH] Run pip workflow for every py version after pypi publish --- .github/workflows/pip-test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pip-test.yml b/.github/workflows/pip-test.yml index 83ca703..1151129 100644 --- a/.github/workflows/pip-test.yml +++ b/.github/workflows/pip-test.yml @@ -1,6 +1,9 @@ name: Check pip install -on: [push] +on: + workflow_run: + workflows: ["Upload Python Package"] + types: [completed] env: PACKAGE_NAME: bach_generator @@ -13,10 +16,10 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v4 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: "3.x" + python-version: ${{ matrix.python-version }} - name: Install pypi package run: | python -m pip install --upgrade pip