Skip to content

Commit

Permalink
Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchueler committed Jul 2, 2024
1 parent 78621e9 commit df8f2a5
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
name: Setup Rust
with:
Expand Down Expand Up @@ -47,8 +47,8 @@ jobs:
matrix:
target: [x86_64, i686]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: x64
Expand All @@ -64,7 +64,7 @@ jobs:
pip install gstools-core --no-index --find-links dist --force-reinstall --no-deps
python -c "import gstools_core"
- name: Upload Wheels Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: dist

Expand All @@ -75,8 +75,8 @@ jobs:
matrix:
target: [x64, x86]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: ${{ matrix.target }}
Expand All @@ -96,7 +96,7 @@ jobs:
pip install gstools-core --no-index --find-links dist --force-reinstall --no-deps
python -c "import gstools_core"
- name: Upload Wheels Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: dist

Expand All @@ -107,8 +107,8 @@ jobs:
matrix:
os: [macos-13, macos-14]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Rust toolchain
Expand Down Expand Up @@ -141,16 +141,16 @@ jobs:
pip install gstools-core --no-index --find-links dist --force-reinstall --no-deps
python -c "import gstools_core"
- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: dist

sdist:
needs: [check]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: x64
Expand All @@ -162,7 +162,7 @@ jobs:
run: |
# PEP 517 package builder from pypa
python -m build --sdist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: dist

Expand All @@ -171,7 +171,7 @@ jobs:
needs: [linux, windows, macos, sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist
Expand Down

0 comments on commit df8f2a5

Please sign in to comment.