Skip to content

app: regenerate federation CLI with client active flag #TASK-8350 #2

app: regenerate federation CLI with client active flag #TASK-8350

app: regenerate federation CLI with client active flag #TASK-8350 #2

name: Build opencga python-client
on:
workflow_call:
inputs:
branch:
type: string
required: true
jobs:
build-python-client:
runs-on: ${{ vars.UBUNTU_VERSION }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:

Check failure on line 16 in .github/workflows/reusable-build-python-client.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reusable-build-python-client.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
persist-credentials: false
with:
ref: ${{ inputs.branch }}
fetch-depth: '10'
token: ${{ secrets.ZETTA_GH_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build R client
run: |
./client-builder.sh --skip-r --skip-javascript
- uses: actions/upload-artifact@v4
with:
name: build-folder
path: build
- name: Upload built python client package as artifact
uses: actions/upload-artifact@v4
with:
name: opencga-python-client-${{ steps.version.outputs.version }}.tar.gz
path: build/dist/opencga-python-client-${{ steps.version.outputs.version }}.tar.gz
deploy-python:
uses: zetta-genomics/java-common-libs/.github/workflows/deploy-python-workflow.yml@develop
needs: build-python-client
with:
cli: ./clients/python/python-build.sh push
artifact: build-folder
secrets: inherit