File tree Expand file tree Collapse file tree 1 file changed +4
-22
lines changed
Expand file tree Collapse file tree 1 file changed +4
-22
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ jobs:
114114 TARGET_PLATFORM : osx-arm64
115115 env :
116116 DISPLAY : ' :0'
117- MICROMAMBA_VERSION : ' 2.0.5'
118117
119118 defaults :
120119 run :
@@ -128,39 +127,22 @@ jobs:
128127 channels : conda-forge
129128 channel-priority : strict
130129
131- - name : Conda info
132- run : |
133- conda info
134- conda list
135-
136130 - name : Install constructor
137131 run : |
138132 conda install constructor
139133
140- - name : Install micromamba
141- if : matrix.ARCH == 'arm64'
134+ - name : Conda info
142135 run : |
143- TEMP_DIR=$(mktemp -d)
144- mkdir "${TEMP_DIR}/micromamba"
145- pushd "${TEMP_DIR}/micromamba"
146- curl -L -O "https://anaconda.org/conda-forge/micromamba/${{ env.MICROMAMBA_VERSION }}/download/${{ matrix.TARGET_PLATFORM }}/micromamba-${{ env.MICROMAMBA_VERSION }}-0.tar.bz2"
147- bsdtar -xf "micromamba-${{ env.MICROMAMBA_VERSION }}-0.tar.bz2"
148- echo "MICROMAMBA_FILE=${PWD}/bin/micromamba" >> $GITHUB_ENV
149- ls ${PWD}
150- ls ${PWD}/bin
151- popd
136+ conda info
137+ conda list
152138
153139 - name : Build distribution
154140 env :
155141 VERSION : ${{ needs.create_release_job.outputs.VERSION }}
156142 BLAS_IMPL : ${{ matrix.BLAS_IMPL }}
157143 CONDA_SOLVER : ' libmamba'
158144 run : |
159- if [ ${{ matrix.TARGET_PLATFORM }} == osx-arm64 ]; then
160- constructor -v conda_distribution --platform ${{ matrix.TARGET_PLATFORM }} --conda-exe ${{ env.MICROMAMBA_FILE }}
161- else
162- constructor -v conda_distribution
163- fi
145+ constructor -v conda_distribution
164146
165147 - name : Set asset name
166148 env :
You can’t perform that action at this time.
0 commit comments