Skip to content

Commit

Permalink
ci: bump actions/upload-artifact to v4
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Kishimoto <[email protected]>
  • Loading branch information
yukibtc committed Sep 19, 2024
1 parent bb0c7cb commit 8d660e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: "Build wheel"
run: ${PYBIN}/python setup.py bdist_wheel --plat-name manylinux_2_28_x86_64 --verbose

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: nostr_protocol-manylinux_2_28_x86_64-${{ matrix.python }}
path: /home/runner/work/nostr/nostr/bindings/nostr-ffi/bindings-python/dist/*.whl
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- name: "Build wheel"
run: python3 setup.py bdist_wheel --plat-name manylinux_2_31_aarch64 --verbose

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: nostr_protocol-manylinux_2_31_aarch64-${{ matrix.python }}
path: /home/runner/work/nostr/nostr/bindings/nostr-ffi/bindings-python/dist/*.whl
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
run: python3 setup.py bdist_wheel --plat-name macosx_11_0_arm64 --verbose

- name: "Upload artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nostr_protocol-macos-arm64-${{ matrix.python }}
path: /Users/runner/work/nostr/nostr/bindings/nostr-ffi/bindings-python/dist/*.whl
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
# see issue #350 for more information
run: python3 setup.py bdist_wheel --plat-name macosx_11_0_x86_64 --verbose

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: nostr_protocol-macos-x86_64-${{ matrix.python }}
path: /Users/runner/work/nostr/nostr/bindings/nostr-ffi/bindings-python/dist/*.whl
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
run: python setup.py bdist_wheel --verbose

- name: "Upload artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nostr_protocol-win-${{ matrix.python }}
path: D:\a\nostr\nostr\bindings\nostr-ffi\bindings-python\dist\*.whl
Expand All @@ -192,7 +192,7 @@ jobs:
uses: actions/checkout@v3

- name: "Download artifacts in dist/ directory"
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
path: dist/

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish-sdk-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: "Build wheel"
run: ${PYBIN}/python setup.py bdist_wheel --plat-name manylinux_2_28_x86_64 --verbose

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: nostr_sdk-manylinux_2_28_x86_64-${{ matrix.python }}
path: /home/runner/work/nostr/nostr/bindings/nostr-sdk-ffi/bindings-python/dist/*.whl
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- name: "Build wheel"
run: python3 setup.py bdist_wheel --plat-name manylinux_2_31_aarch64 --verbose

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: nostr_sdk-manylinux_2_31_aarch64-${{ matrix.python }}
path: /home/runner/work/nostr/nostr/bindings/nostr-sdk-ffi/bindings-python/dist/*.whl
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
run: python3 setup.py bdist_wheel --plat-name macosx_11_0_arm64 --verbose

- name: "Upload artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nostr_sdk-macos-arm64-${{ matrix.python }}
path: /Users/runner/work/nostr/nostr/bindings/nostr-sdk-ffi/bindings-python/dist/*.whl
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
# see issue #350 for more information
run: python3 setup.py bdist_wheel --plat-name macosx_11_0_x86_64 --verbose

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: nostr_sdk-macos-x86_64-${{ matrix.python }}
path: /Users/runner/work/nostr/nostr/bindings/nostr-sdk-ffi/bindings-python/dist/*.whl
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
run: python setup.py bdist_wheel --verbose

- name: "Upload artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nostr_sdk-win-${{ matrix.python }}
path: D:\a\nostr\nostr\bindings\nostr-sdk-ffi\bindings-python\dist\*.whl
Expand All @@ -192,7 +192,7 @@ jobs:
uses: actions/checkout@v3

- name: "Download artifacts in dist/ directory"
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
path: dist/

Expand Down

0 comments on commit 8d660e0

Please sign in to comment.