Skip to content

run test on push

run test on push #74

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
with:
use-mamba: true
activate-environment: test
auto-update-conda: true
python-version: "3.11"
- name: Do Build
shell: bash -l {0}
run: |
conda install conda-build --yes
conda build conda-recipe
- name: Upload
if: github.ref == 'refs/heads/master'
shell: bash -l {0}
run: |
scp ${CONDA_PREFIX}/conda-bld/noarch/*.tar.bz2 dummy@packages.nnpdf.science:~/packages/conda/noarch/