From e1b1f6a8966874f372c7202f1f613959ae832a9f Mon Sep 17 00:00:00 2001 From: Kyle Cesare Date: Sat, 21 Sep 2024 17:31:00 -0600 Subject: [PATCH] Bump deprecated Github CI steps. --- .github/workflows/python.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index f9916c8..65cf898 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -42,9 +42,9 @@ jobs: pip3 install optik-py --no-index --find-links dist python3 -c "import optik" - name: upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-binary-${{ matrix.os }}-${{ matrix.target }} path: dist - if: github.ref == 'refs/heads/master' name: update prerelease tag @@ -55,16 +55,16 @@ jobs: sdist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build sdist uses: PyO3/maturin-action@v1 with: command: sdist args: --out dist --manifest-path crates/optik-py/Cargo.toml - name: upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-sdist path: dist prerelease: @@ -75,9 +75,10 @@ jobs: cancel-in-progress: true needs: [build_wheels, sdist] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: wheels + pattern: wheels-* + merge-multiple: true path: wheels - name: GitHub release