From 7e283d4eeb31b785de3cdab014504d5fb53601c9 Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Thu, 28 Mar 2024 16:28:21 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9E=20ci=20trigger=20error=20fi?= =?UTF-8?q?x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Onuralp SEZER --- .github/workflows/publish-test.yml | 16 ++++++++-------- .github/workflows/publish.yml | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-test.yml b/.github/workflows/publish-test.yml index a07af1d3..ec120e94 100644 --- a/.github/workflows/publish-test.yml +++ b/.github/workflows/publish-test.yml @@ -5,25 +5,25 @@ on: - '[0-9]+.[0-9]+[0-9]+.[0-9]+a[0-9]' - '[0-9]+.[0-9]+[0-9]+.[0-9]+b[0-9]' - '[0-9]+.[0-9]+[0-9]+.[0-9]+rc[0-9]' - branches: - - develop - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: build-n-publish: name: Build and publish to PyPI runs-on: ubuntu-latest - + strategy: + matrix: + python-version: [3.10] steps: - - name: Checkout source + - name: 🛎️ Checkout uses: actions/checkout@v4 - - - name: 🐍 Set up Python 3.8 environment for build + with: + ref: ${{ github.head_ref }} + - name: 🐍 Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: ${{ matrix.python-version }} - name: 🏗️ Build source and wheel distributions run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 76d1c67c..a9749790 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,6 @@ on: tags: - '[0-9]+.[0-9]+[0-9]+.[0-9]' - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: