From 6c32c14fb863c0bde4ae02e1d4a35344294c2033 Mon Sep 17 00:00:00 2001 From: Lin Zhihao <59785146+LinZhihao-723@users.noreply.github.com> Date: Sun, 1 Dec 2024 01:59:21 -0500 Subject: [PATCH] ci: Update to latest versions of all GH actions. (#49) --- .github/workflows/package.yaml | 18 +++++++++--------- .github/workflows/release.yaml | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 8c75de5..601aa77 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -12,9 +12,9 @@ jobs: matrix: python-version: ["3.8", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -32,7 +32,7 @@ jobs: - run: python -m build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: wheel-${{ matrix.python-version }} path: dist/* @@ -46,14 +46,14 @@ jobs: python-version: ["3.7"] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Download wheels for Python3.7 - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: # Since we don't build for Python 3.7, we download the Python 3.8 wheel instead. name: wheel-3.8 @@ -74,14 +74,14 @@ jobs: python-version: ["3.8", "3.11"] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Download wheels for Built Python Versions - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: wheel-${{ matrix.python-version }} path: dist/ diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 678a867..02cf4cf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,13 +17,13 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.8" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheel-3.8 path: dist/