Skip to content

Merge pull request #124 from DiamondLightSource/fourier #60

Merge pull request #124 from DiamondLightSource/fourier

Merge pull request #124 from DiamondLightSource/fourier #60

Workflow file for this run

name: httomolibgpu conda upload
# Run the workflow whenever a tag beginning with `v` is pushed to any branch
on:
push:
tags:
- v*
jobs:
build-linux:
runs-on: ubuntu-20.04
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout repository code
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.ref_name }}
# setup Python 3.9
- name: Setup Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
# install dependencies with conda
- name: Install dependencies with conda
run: |
$CONDA/bin/conda env create --name httomolibgpu --file conda/environment.yml
$CONDA/bin/conda run -n httomolibgpu pip install -e .
$CONDA/bin/conda list
- name: Decrypt a secret
run: ./.scripts/decrypt_secret.sh
env:
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
- name: Build and upload the package to httomo conda cloud
env:
LABEL: main
run: |
chmod +x ./.scripts/conda_upload.sh
./.scripts/conda_upload.sh