Skip to content
name: tomobar_conda_upload
on: [push]
jobs:
build-linux:

Check failure on line 6 in .github/workflows/tomobar_conda_upload.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tomobar_conda_upload.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
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
- name: Install dependencies with Conda
run: |
$CONDA/bin/conda env update --file conda-recipe/environment/environment.yml --name base
$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
env:
LABEL: main
run: |
chmod +x ./.scripts/conda_upload.sh
./.scripts/conda_upload.sh