Skip to content

Commit

Permalink
ci: fix publish python jobs names
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
  • Loading branch information
yukibtc committed Apr 12, 2024
1 parent 80960f1 commit 5cfe134
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 @@ -3,7 +3,7 @@ name: Publish nostr-protocol to PyPI
on: [workflow_dispatch]

jobs:
build-manylinux_2_31-x86_64-wheels:
build-linux-x86_64:
name: "Build manylinux_2_31 x86_64 wheel"
runs-on: ubuntu-20.04
strategy:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
name: nostr_sdk-manylinux_2_31_x86_64-${{ matrix.python }}
path: /home/runner/work/nostr/nostr/bindings/nostr-ffi/bindings-python/dist/*.whl

build-manylinux_2_31-aarch64-wheels:
build-linux-aarch64:
name: "Build manylinux_2_31 aarch64 wheel"
runs-on: ubuntu-20.04
strategy:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
name: nostr_protocol-manylinux_2_31_aarch64-${{ matrix.python }}
path: /home/runner/work/nostr/nostr/bindings/nostr-ffi/bindings-python/dist/*.whl

build-macos-arm64-wheels:
build-macos-arm64:
name: "Build macOS arm64 wheel"
runs-on: macos-13
defaults:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
name: nostr_protocol-macos-arm64-${{ matrix.python }}
path: /Users/runner/work/nostr/nostr/bindings/nostr-ffi/bindings-python/dist/*.whl

build-macos-x86_64-wheels:
build-macos-x86_64:
name: "Build macOS x86_64 wheel"
runs-on: macos-13
defaults:
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
name: nostr_protocol-macos-x86_64-${{ matrix.python }}
path: /Users/runner/work/nostr/nostr/bindings/nostr-ffi/bindings-python/dist/*.whl

build-windows-wheels:
build-windows:
name: "Build Windows wheel"
runs-on: windows-2024
defaults:
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
defaults:
run:
working-directory: bindings/nostr-ffi/bindings-python
needs: [build-manylinux2014-x86_64-wheels, build-manylinux_2_31-aarch64-wheels, build-macos-arm64-wheels, build-macos-x86_64-wheels, build-windows-wheels]
needs: [build-linux-x86_64, build-linux-aarch64, build-macos-arm64, build-macos-x86_64, build-windows]
steps:
- name: "Checkout"
uses: actions/checkout@v3
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 @@ -3,7 +3,7 @@ name: Publish nostr-sdk to PyPI
on: [workflow_dispatch]

jobs:
build-manylinux_2_31-x86_64-wheels:
build-linux-x86_64:
name: "Build manylinux_2_31 x86_64 wheel"
runs-on: ubuntu-20.04
strategy:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
name: nostr_sdk-manylinux_2_31_x86_64-${{ matrix.python }}
path: /home/runner/work/nostr/nostr/bindings/nostr-sdk-ffi/bindings-python/dist/*.whl

build-manylinux_2_31-aarch64-wheels:
build-linux-aarch64:
name: "Build manylinux_2_31 aarch64 wheel"
runs-on: ubuntu-20.04
strategy:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
name: nostr_sdk-manylinux_2_31_aarch64-${{ matrix.python }}
path: /home/runner/work/nostr/nostr/bindings/nostr-sdk-ffi/bindings-python/dist/*.whl

build-macos-arm64-wheels:
build-macos-arm64:
name: "Build macOS arm64 wheel"
runs-on: macos-13
defaults:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
name: nostr_sdk-macos-arm64-${{ matrix.python }}
path: /Users/runner/work/nostr/nostr/bindings/nostr-sdk-ffi/bindings-python/dist/*.whl

build-macos-x86_64-wheels:
build-macos-x86_64:
name: "Build macOS x86_64 wheel"
runs-on: macos-13
defaults:
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
name: nostr_sdk-macos-x86_64-${{ matrix.python }}
path: /Users/runner/work/nostr/nostr/bindings/nostr-sdk-ffi/bindings-python/dist/*.whl

build-windows-wheels:
build-windows:
name: "Build Windows wheel"
runs-on: windows-2024
defaults:
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
defaults:
run:
working-directory: bindings/nostr-sdk-ffi/bindings-python
needs: [build-manylinux2014-x86_64-wheels, build-manylinux_2_31-aarch64-wheels, build-macos-arm64-wheels, build-macos-x86_64-wheels, build-windows-wheels]
needs: [build-linux-x86_64, build-linux-aarch64, build-macos-arm64, build-macos-x86_64, build-windows]
steps:
- name: "Checkout"
uses: actions/checkout@v3
Expand Down

0 comments on commit 5cfe134

Please sign in to comment.