File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,30 +31,22 @@ jobs:
3131 - name : Install conda-build
3232 shell : bash -l {0}
3333 run : |
34- conda install -n itdiscover-build -y -c conda-forge conda-build
34+ conda install -n base -y -c conda-forge conda-build
3535
3636 - name : Build package
3737 shell : bash -l {0}
3838 run : |
39- mkdir -p dist
40- conda-build conda-recipe/ --output-folder dist
41- find dist -maxdepth 3 -type f | sort
39+ conda build conda-recipe/
4240
4341 - name : Locate built package
4442 id : locate
4543 shell : bash -l {0}
4644 run : |
47- PKG_PATH="$(conda- build conda-recipe/ --output)"
45+ PKG_PATH="$(conda build conda-recipe/ --output)"
4846 if [ -z "$PKG_PATH" ]; then
49- echo "No conda package path reported by conda- build"
47+ echo "No conda package path reported by conda build"
5048 exit 1
5149 fi
52- if [ ! -f "$PKG_PATH" ]; then
53- ALT_PATH="$(find dist -type f \( -name "*.conda" -o -name "*.tar.bz2" \) | head -n 1)"
54- if [ -n "$ALT_PATH" ]; then
55- PKG_PATH="$ALT_PATH"
56- fi
57- fi
5850 if [ ! -f "$PKG_PATH" ]; then
5951 echo "Reported package path does not exist: $PKG_PATH"
6052 exit 1
6456 - name : Smoke test built package
6557 shell : bash -l {0}
6658 run : |
67- conda- build --test "${{ steps.locate.outputs.pkg_path }}"
59+ conda build --test "${{ steps.locate.outputs.pkg_path }}"
6860
6961 - name : Upload conda artifact
7062 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ source:
1111build :
1212 number : 0
1313 noarch : python
14+ script : {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv
1415
1516requirements :
1617 host :
You can’t perform that action at this time.
0 commit comments