diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df3d8782..9050a2e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,7 @@ jobs: - if: contains(matrix.args, 'sdist') run: pip install --no-dependencies target/wheels/*.tar.gz - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: name: wheels-${{ matrix.name }} path: target/wheels @@ -117,7 +117,7 @@ jobs: steps: - uses: mhils/workflows/checkout@5b6540d578f48644ffa5e955cedadc81034cb7d8 # v18.0 - if: ${{ !startsWith(github.ref, 'refs/tags/') }} # harden against cache poisoning - uses: actions/cache@v4 + uses: actions/cache@v5 id: cache-app with: path: mitmproxy-macos/redirector/dist/ @@ -132,7 +132,7 @@ jobs: APPLE_PROVISIONING_PROFILE_EXT: ${{ secrets.APPLE_PROVISIONING_PROFILE_EXT }} APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }} - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: name: macos-app path: mitmproxy-macos/redirector/dist/ @@ -148,7 +148,7 @@ jobs: - run: cargo build --release --package windows-redirector - run: python -m build --wheel ./mitmproxy-windows --outdir target/wheels/ - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: name: wheels-os-windows path: target/wheels @@ -168,13 +168,13 @@ jobs: cargo build --release --package macos-certificate-truster --target x86_64-apple-darwin cargo build --release --package macos-certificate-truster --target aarch64-apple-darwin lipo -create -output target/release/macos-certificate-truster target/x86_64-apple-darwin/release/macos-certificate-truster target/aarch64-apple-darwin/release/macos-certificate-truster - - uses: actions/download-artifact@v6 + - uses: actions/download-artifact@v7 with: name: macos-app path: mitmproxy-macos/redirector/dist/ - run: python -m build --wheel ./mitmproxy-macos --outdir target/wheels/ - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: name: wheels-os-macos path: target/wheels @@ -200,7 +200,7 @@ jobs: working-directory: ./mitmproxy-linux - run: test -f target/wheels/*-py3-none-*.whl # ensure we have a universal wheel - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: name: wheels-os-${{ matrix.name }} path: target/wheels @@ -211,7 +211,7 @@ jobs: steps: - uses: mhils/workflows/checkout@5b6540d578f48644ffa5e955cedadc81034cb7d8 # v18.0 - uses: ./.github/actions/setup - - uses: actions/download-artifact@v6 + - uses: actions/download-artifact@v7 with: name: wheels-os-linux-x86_64 path: target/wheels