Skip to content

Commit

Permalink
Merge pull request #20 from masadcv/update-actions
Browse files Browse the repository at this point in the history
update actions
  • Loading branch information
masadcv authored Oct 15, 2024
2 parents 9a8b6e9 + e560743 commit 504e1ce
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-whl-cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
fetch-depth: 0

# Used to host cibuildwheel
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.8

Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
if: matrix.os == 'windows-2019'
SETUPTOOLS_USE_DISTUTILS: 'stdlib'

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: dist
path: ./dist/*.whl
Expand All @@ -92,7 +92,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8

Expand All @@ -105,7 +105,7 @@ jobs:
run: python setup.py sdist

- name: Upload Python Dist
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
Expand All @@ -118,7 +118,7 @@ jobs:
- build_sdist
steps:
- name: Download all the dists
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-whl-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -52,7 +52,7 @@ jobs:
# CIBW_SOME_OPTION: value

- name: Upload Python Dist
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8

Expand All @@ -99,7 +99,7 @@ jobs:
run: python setup.py sdist

- name: Upload Python Dist
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
Expand All @@ -112,7 +112,7 @@ jobs:
- build_sdist
steps:
- name: Download all the dists
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
strategy:
matrix:
os: [windows-2019, macos-12, ubuntu-20.04]
python-version: [3.8]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Upload Python Dist
if: ${{ github.event.inputs.save_artifacts == 'true' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
Expand All @@ -68,7 +68,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8

Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Upload Python Dist
if: ${{ github.event.inputs.save_artifacts == 'true' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
Expand Down

0 comments on commit 504e1ce

Please sign in to comment.