Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
smartgoo committed Nov 19, 2024
1 parent 5ba3293 commit 76ee6a9
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,21 +248,6 @@ jobs:
sccache: 'true'
manylinux: ${{ matrix.platform.manylinux || '' }}

# - name: Move wheels to artifacts directory (MacOS, Linux)
# if: runner.os != 'Windows'
# run: |
# OS_ARCH_DIR="artifacts"
# sudo mkdir -p "$OS_ARCH_DIR"
# sudo mv python/target/dist/* "$OS_ARCH_DIR/"

# - name: Move wheels to artifacts directory (Windows)
# if: runner.os == 'Windows'
# shell: pwsh
# run: |
# $OS_ARCH_DIR = "artifacts"
# mkdir -p $OS_ARCH_DIR
# Move-Item -Path "python/target/dist/*" -Destination "$OS_ARCH_DIR" -Force

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand All @@ -279,25 +264,17 @@ jobs:
with:
path: artifacts

# - name: Organize artifacts into OS/Architecture directories
# run: |
# sudo mkdir -p combined_artifacts
# sudo mv all_artifacts/* combined_artifacts/

- name: Zip artifacts
run: |
pwd
ls -l
cd artifacts
sudo zip -r ../kaspa-python-sdk.zip .
cd ..
- name: Upload consolidated release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./kaspa-python-sdk-${{ github.event.release.tag_name }}.zip
asset_name: "kaspa-python-sdk.zip"
asset_path: ./kaspa-python-sdk.zip
asset_name: "kaspa-python-sdk-${{ github.event.release.tag_name }}.zip"
asset_content_type: application/zip

0 comments on commit 76ee6a9

Please sign in to comment.