mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-18 21:44:23 +01:00
CI: bump checkout action to v4 (#363)
* CI: bump checkout action to v4 * CI: bump download-artifact action to v4 * CI: bump upload-artifact action to v4
This commit is contained in:
30
.github/workflows/publish-python.yml
vendored
30
.github/workflows/publish-python.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
steps:
|
||||
- name: Checkout breez-liquid-sdk repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ inputs.repository || github.repository }}
|
||||
ref: ${{ inputs.ref || github.sha }}
|
||||
@@ -42,12 +42,12 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: bindings-darwin-universal
|
||||
path: lib/bindings/langs/python/src/breez_liquid_sdk
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: bindings-python
|
||||
path: lib/bindings/langs/python/src/breez_liquid_sdk
|
||||
@@ -75,7 +75,7 @@ jobs:
|
||||
run: python3 -m zipfile --list *.whl || true
|
||||
|
||||
- name: Archive the wheel
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: python-wheel-${{ matrix.python }}-macos
|
||||
path: lib/bindings/langs/python/dist/*.whl
|
||||
@@ -88,7 +88,7 @@ jobs:
|
||||
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ inputs.repository || github.repository }}
|
||||
ref: ${{ inputs.ref || github.sha }}
|
||||
@@ -98,12 +98,12 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: bindings-${{ matrix.arch }}-unknown-linux-gnu
|
||||
path: lib/bindings/langs/python/src/breez_liquid_sdk
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: bindings-python
|
||||
path: lib/bindings/langs/python/src/breez_liquid_sdk
|
||||
@@ -121,7 +121,7 @@ jobs:
|
||||
working-directory: lib/bindings/langs/python
|
||||
run: python3 setup.py bdist_wheel --plat-name manylinux_2_31_${{ matrix.arch }} --verbose
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: python-wheel-${{ matrix.python }}-manylinux_2_31_${{ matrix.arch }}
|
||||
path: lib/bindings/langs/python/dist/*.whl
|
||||
@@ -134,7 +134,7 @@ jobs:
|
||||
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ inputs.repository || github.repository }}
|
||||
ref: ${{ inputs.ref || github.sha }}
|
||||
@@ -144,19 +144,19 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
if: matrix.arch == 'win_amd64'
|
||||
with:
|
||||
name: bindings-x86_64-pc-windows-msvc
|
||||
path: lib/bindings/langs/python/src/breez_liquid_sdk
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
if: matrix.arch == 'win32'
|
||||
with:
|
||||
name: bindings-i686-pc-windows-msvc
|
||||
path: lib/bindings/langs/python/src/breez_liquid_sdk
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: bindings-python
|
||||
path: lib/bindings/langs/python/src/breez_liquid_sdk
|
||||
@@ -189,7 +189,7 @@ jobs:
|
||||
working-directory: lib/bindings/langs/python
|
||||
run: python -m setup bdist_wheel --plat-name ${{ matrix.arch }} --verbose
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: python-wheel-${{ matrix.python }}-${{ matrix.arch }}
|
||||
path: lib/bindings/langs/python/dist/*.whl
|
||||
@@ -199,13 +199,13 @@ jobs:
|
||||
needs: [build-macos-wheels, build-linux-wheels, build-windows-wheels]
|
||||
steps:
|
||||
- name: Checkout breez-sdk repo
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: ${{ inputs.repository || github.repository }}
|
||||
ref: ${{ inputs.ref || github.sha }}
|
||||
|
||||
- name: Download wheels
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: lib/bindings/langs/python/dist/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user