Skip to content

correcting ci lib2

correcting ci lib2 #5

name: libtomophantom_conda_upload
on: [push]
jobs:
build-linux:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout repository code
uses: actions/checkout@v4
# setup Python 3.10
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies with Conda
run: |
$CONDA/bin/conda install -c conda-forge conda-build anaconda-client
$CONDA/bin/conda install --solver=classic conda-forge::conda-libmamba-solver conda-forge::libmamba conda-forge::libmambapy conda-forge::libarchive
$CONDA/bin/conda install -c conda-forge cmake
$CONDA/bin/conda update conda
$CONDA/bin/conda update conda-build
$CONDA/bin/conda list
- name: Decrypt a secret
run: ./.scripts/decrypt_secret.sh
env:
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
- name: Upload the tested package to conda cloud
run: |
chmod +x ./.scripts/conda_upload_lib.sh
./.scripts/conda_upload_lib.sh