Skip to content

Commit

Permalink
update GitHub actions to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
joostvanzwieten committed May 7, 2024
1 parent 220e08a commit a3f0c87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
artifact: ${{ inputs.artifact }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.dist }}
path: dist
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Build documentation
run: python -m sphinx -n -b dirhtml -D html_theme=sphinx_rtd_theme "$source" target/sphinx
- name: Upload documentation
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact }}
path: target/sphinx
12 changes: 6 additions & 6 deletions .github/workflows/selftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install flit
run: python -m pip install flit
- name: Build dist
run: |
cd example-pure-python
python -m flit build
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist-pure-python
path: example-pure-python/dist
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install maturin
run: python -m pip install maturin
- name: Build dist
Expand All @@ -36,7 +36,7 @@ jobs:
python -m maturin build
python -m maturin sdist
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist-manylinux
path: example-manylinux/target/wheels
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: docs-extras
path: target/sphinx
Expand All @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: docs-requirements
path: target/sphinx
Expand Down

0 comments on commit a3f0c87

Please sign in to comment.