From 7cc18a5dd6e001118d9925d5003601e62e59af16 Mon Sep 17 00:00:00 2001 From: edgar Date: Fri, 10 Nov 2023 16:54:52 +0100 Subject: [PATCH] update final --- .github/workflows/pypi-release.yml | 30 ++++++++++++++---------------- setup.cfg | 2 +- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 65aa617e..3408e697 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -12,8 +12,7 @@ jobs: strategy: fail-fast: false matrix: - #os: [ubuntu-20.04, macos-11] - os: [ubuntu-20.04] + os: [ubuntu-20.04, macos-11] steps: - uses: actions/checkout@v4 with: @@ -35,27 +34,26 @@ jobs: CIBW_SKIP: "pp* *-musllinux_*" # configure cibuildwheel to build native archs ('auto'), and some # emulated ones - CIBW_ARCHS_LINUX: aarch64 # auto + CIBW_ARCHS_LINUX: auto aarch64 - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl - #build_sdist: - # name: Build source distribution - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - name: Build sdist - # run: pipx run build --sdist - # - uses: actions/upload-artifact@v3 - # with: - # path: dist/*.tar.gz + build_sdist: + name: Build source distribution + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build sdist + run: pipx run build --sdist + - uses: actions/upload-artifact@v3 + with: + path: dist/*.tar.gz upload_pypi: - #needs: [build_wheels, build_sdist] - needs: [build_wheels] + needs: [build_wheels, build_sdist] runs-on: ubuntu-latest - #if: github.event_name == 'release' && github.event.action == 'published' + if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v3 with: diff --git a/setup.cfg b/setup.cfg index 0603086b..9da162c5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = farm_ng_core -version = 2.0.0 +version = 2.0.1-dev description = long_description = file: README.md long_description_content_type = text/markdown