diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 90e05c4..95179b0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,4 +8,4 @@ updates: - package-ecosystem: "github-actions" # See documentation for possible values directory: "/" # Location of package manifests schedule: - interval: "weekly" + interval: "monthly" diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 051c7a3..a446767 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -22,7 +22,7 @@ jobs: python -m build -s - name: Upload sdist to build artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sdist path: dist/*.tar.gz @@ -36,12 +36,16 @@ jobs: include: - os: windows-2019 cibw_archs: "AMD64 ARM64" + artifact_name: "win" - os: macos-11 cibw_archs: "x86_64 arm64" + artifact_name: "mac" - os: "ubuntu-20.04" cibw_archs: "aarch64" + artifact_name: "ubuntu-aarch" - os: "ubuntu-20.04" cibw_archs: "x86_64" + artifact_name: "ubuntu-x86_64" steps: - uses: actions/checkout@v4 @@ -63,7 +67,7 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: wheels + name: wheels-${{ matrix.artifact_name }} path: ./wheelhouse/*.whl upload_to_pypi: @@ -75,10 +79,25 @@ jobs: with: name: sdist path: dist - - name: Download wheels artifact + - name: Download wheels artifact - win uses: actions/download-artifact@v4 with: - name: wheels + name: wheels-win + path: dist + - name: Download wheels artifact - mac + uses: actions/download-artifact@v4 + with: + name: wheels-mac + path: dist + - name: Download wheels artifact - ubuntu aarch + uses: actions/download-artifact@v4 + with: + name: wheels-ubuntu-aarch + path: dist + - name: Download wheels artifact - ubuntu x86_64 + uses: actions/download-artifact@v4 + with: + name: wheels-ubuntu-x86_64 path: dist - name: Publish package to Test PyPI if: github.event.action != 'published' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')