Skip to content

Commit

Permalink
das-node-55: Fix publish steps
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Oct 30, 2024
1 parent ada3421 commit ce69a08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Publish to PyPI
---
name: Publish DAS Node to PyPI

on:
workflow_dispatch:
Expand Down Expand Up @@ -32,19 +33,12 @@ jobs:

- name: Update version
run: sed -i "s/version=.*/version='${{ github.event.inputs.version }}',/" pyproject.toml


- name: Build (Docker Image)
run: ./scripts/docker_image_build.sh
- name: Build bazel
run: make cpp-build

- name: Build (Bazel)
run: ./scripts/build.sh

- name: Build (Docker Image Wheel)
run: ./scripts/docker_image_wheel.sh

- name: Build (Wheel)
run: ./scripts/wheel.sh
- name: Build wheel package
run: make wheeler-build

- name: Install twine
run: pip install twine
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cpp-image:
@./scripts/cpp_image.sh

cpp-build:
cpp-build: cpp-image
@./scripts/cpp_build.sh

cpp-test:
Expand All @@ -13,7 +13,7 @@ cpp-test:
wheeler-image:
@./scripts/wheeler_image.sh

wheeler-build:
wheeler-build: wheeler-image
@./scripts/wheeler_build.sh

wheeler-test:
Expand Down

0 comments on commit ce69a08

Please sign in to comment.