Fix UNIX glob pattern error in GitHub Actions
- Remove coordinator-api and blockchain-node publishing jobs - These apps don't have proper setup.py files yet - Keep only agent-sdk and explorer-web publishing - Prevents glob pattern errors during build
This commit is contained in:
66
.github/workflows/publish-packages.yml
vendored
66
.github/workflows/publish-packages.yml
vendored
@@ -45,72 +45,6 @@ jobs:
|
||||
TWINE_USERNAME: __token__
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
||||
publish-coordinator-api:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python 3.13
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.13'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install build twine
|
||||
|
||||
- name: Build package
|
||||
run: |
|
||||
cd apps/coordinator-api
|
||||
python -m build
|
||||
|
||||
- name: Publish to GitHub Packages
|
||||
run: |
|
||||
cd apps/coordinator-api
|
||||
python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
|
||||
env:
|
||||
TWINE_USERNAME: __token__
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
||||
publish-blockchain-node:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python 3.13
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.13'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install build twine
|
||||
|
||||
- name: Build package
|
||||
run: |
|
||||
cd apps/blockchain-node
|
||||
python -m build
|
||||
|
||||
- name: Publish to GitHub Packages
|
||||
run: |
|
||||
cd apps/blockchain-node
|
||||
python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
|
||||
env:
|
||||
TWINE_USERNAME: __token__
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
||||
publish-explorer-web:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user