Skip to content

Commit

Permalink
Update GH Action action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuyifei1999 committed May 13, 2023
1 parent aff42f1 commit ab93132
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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

Expand 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 }}
Expand Down

0 comments on commit ab93132

Please sign in to comment.