Skip to content

Auto-leveling functionality for tilt series and small bug fixes (#411) #306

Auto-leveling functionality for tilt series and small bug fixes (#411)

Auto-leveling functionality for tilt series and small bug fixes (#411) #306

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
# push a tagged commit to trigger a release...
# e.g. git tag -am v0.0.1 "v0.0.1"; git push --follow-tags
- "v*"
# cancel in-progress runs that use the same workflow and branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
name: Deploy
if: success() && startsWith(github.ref, 'refs/tags/') && github.event_name != 'schedule'
runs-on: ubuntu-latest
permissions:
# This permission allows writing releases
contents: write
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 30000
temp-reserve-mb: 30000
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Micromamba
uses: mamba-org/setup-micromamba@v2
with:
environment-name: package-build
create-args: >-
python=3.10
conda-build
anaconda-client
init-shell: bash
cache-environment: true
post-cleanup: 'all'
- name: Build conda package
shell: micromamba-shell {0}
run: |
ls -lrth
conda-build conda-recipe -c nvidia/label/cuda-11.8.0 -c pytorch -c conda-forge
- name: Upload conda package
shell: micromamba-shell {0}
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_KEY }}
run: |
anaconda upload --user warpem $(conda build --output conda-recipe -c nvidia/label/cuda-11.8.0 -c pytorch -c conda-forge)
- name: Release the source on GitHub
uses: softprops/action-gh-release@v2