From 16c41d9d5db44f01d177052dfc05c19bf6ca6988 Mon Sep 17 00:00:00 2001 From: Piotr Skalski Date: Thu, 28 Mar 2024 15:19:24 +0100 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=F0=9F=90=9E=20ci=20trigger=20?= =?UTF-8?q?error=20fix"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-test.yml | 16 ++++++++-------- .github/workflows/publish.yml | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish-test.yml b/.github/workflows/publish-test.yml index ec120e94..a07af1d3 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 + - name: Checkout source uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - - name: 🐍 Set up Python ${{ matrix.python-version }} + + - name: 🐍 Set up Python 3.8 environment for build uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: "3.8" - name: 🏗️ Build source and wheel distributions run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a9749790..76d1c67c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,7 @@ on: tags: - '[0-9]+.[0-9]+[0-9]+.[0-9]' + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: