mirror of
https://github.com/ultrajson/ultrajson.git
synced 2024-05-19 13:26:25 +02:00
Update github-actions
This commit is contained in:
parent
381f248e03
commit
86de8d31a5
|
@ -24,7 +24,7 @@ jobs:
|
|||
- run: git fetch --prune --unshallow
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: pip
|
||||
|
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
- run: git fetch --prune --unshallow
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
cache: pip
|
||||
|
@ -53,9 +53,9 @@ jobs:
|
|||
CIBW_TEST_COMMAND: pytest {package}/tests
|
||||
|
||||
- name: Upload as build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels
|
||||
name: wheels-${{ matrix.os }}
|
||||
path: dist/*.whl
|
||||
|
||||
build-QEMU-emulated-wheels:
|
||||
|
@ -77,7 +77,7 @@ jobs:
|
|||
- run: git fetch --prune --unshallow
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
cache: pip
|
||||
|
@ -110,9 +110,9 @@ jobs:
|
|||
CIBW_TEST_COMMAND: pytest {package}/tests
|
||||
|
||||
- name: Upload as build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels
|
||||
name: wheels-qemu-${{ matrix.python-version }}
|
||||
path: dist/*.whl
|
||||
|
||||
build-sdist-and-upload:
|
||||
|
@ -128,7 +128,7 @@ jobs:
|
|||
git fetch --prune --unshallow
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
cache: pip
|
||||
|
@ -140,9 +140,10 @@ jobs:
|
|||
python -m pip install -U build twine
|
||||
|
||||
- name: Download wheels from build artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: wheels
|
||||
pattern: wheels-*
|
||||
merge-multiple: true
|
||||
path: dist-wheels/
|
||||
|
||||
- name: Build package
|
||||
|
|
|
@ -8,7 +8,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- uses: pre-commit/action@v3.0.0
|
||||
|
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
allow-prereleases: true
|
||||
|
|
Loading…
Reference in New Issue