From ab931327e91e3faedd9a22d3c381fbb861224cd5 Mon Sep 17 00:00:00 2001 From: YiFei Zhu Date: Sat, 13 May 2023 06:27:22 -0400 Subject: [PATCH] Update GH Action action versions --- .github/workflows/workflow.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 77791a5..1b2f3ae 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -13,7 +13,7 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build sdist run: pipx run build --sdist @@ -45,16 +45,16 @@ jobs: steps: - name: Checkout if: ${{ !matrix.sdist }} - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download sdist if: ${{ matrix.sdist }} - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: artifact path: dist - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -112,10 +112,10 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 with: platforms: all @@ -134,12 +134,12 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: artifact path: dist - - uses: pypa/gh-action-pypi-publish@v1.4.2 + - uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }}