Skip to content

Karabo Karabo v0.21.0 #113

Karabo Karabo v0.21.0

Karabo Karabo v0.21.0 #113

Workflow file for this run

name: Conda Build
on:
release:
types: [published]
workflow_dispatch:
jobs:
conda-build:
runs-on: ubuntu-latest
container: ghcr.io/i4ds/mambabuild-docker:latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Get Previous tag
uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- name: Install conda build
shell: bash -l {0}
id: channels
run: |
KARABO_TAG=${{ steps.get-latest-tag.outputs.tag }}
conda config --append channels i4ds
conda config --append channels nvidia/label/cuda-11.7.0
conda config --append channels conda-forge
- name: Build Conda
shell: bash -l {0}
run: |
cd conda
KARABO_TAG=${{ steps.get-latest-tag.outputs.tag }}
export KARABO_VERSION="${KARABO_TAG:1}"
echo "__version__ = \"${KARABO_VERSION}\"" > karabo/version.py
conda mambabuild .
- name: Publish to Conda
shell: bash -l {0}
run: |
conda activate base
anaconda -t ${{ secrets.ANACONDA_SECRET }} upload /opt/conda/conda-bld/linux-64/karabo-pipeline-*.tar.bz2 --force