From 13cbb9beeb8571ed2429d94bb9f75bcac0197818 Mon Sep 17 00:00:00 2001 From: Noam Raphael Date: Sat, 28 Mar 2026 21:05:07 +0300 Subject: [PATCH] wip --- .github/workflows/build.yml | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..3aee8056 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,43 @@ +name: Build Distribution Files + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + container: + # Latest right now, based on ubuntu 24.04 + image: condaforge/miniforge3:26.1.1-3 + + # defaults: + # run: + # shell: bash -l {0} # Important for conda to work properly + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Build the files + run: | + echo "Conda is ready! Python version: $(python --version)" + echo "Conda environment: $(conda info --envs | grep '*' )" + mkdir dist + echo 'hello' > dist/hello + + # === Put your actual build commands here === + # Examples: + # conda install -c conda-forge some-package another-package + # mamba env update --file environment.yml + # python build_script.py + # make build + + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + with: + name: built-files + path: dist/ + retention-days: 7