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: