Skip to content

Commit 26d190c

Browse files
Merge pull request #1177 from IntelPython/finess-conda-package
attempt to fix upload steps of the workflow on Linux
2 parents 31144c6 + ee65713 commit 26d190c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/conda-package.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
uses: conda-incubator/setup-miniconda@v2
4646
with:
4747
auto-update-conda: true
48+
auto-activate-base: true
4849
python-version: ${{ matrix.python }}
4950
miniconda-version: 'latest'
5051
activate-environment: 'build'
@@ -106,6 +107,7 @@ jobs:
106107
uses: conda-incubator/setup-miniconda@v2
107108
with:
108109
auto-update-conda: true
110+
auto-activate-base: true
109111
python-version: ${{ matrix.python }}
110112
miniconda-version: 'latest'
111113
activate-environment: 'build'
@@ -158,6 +160,7 @@ jobs:
158160
uses: conda-incubator/setup-miniconda@v2
159161
with:
160162
auto-update-conda: true
163+
auto-activate-base: true
161164
python-version: ${{ matrix.python }}
162165
miniconda-version: 'latest'
163166
activate-environment: 'upload'
@@ -166,6 +169,7 @@ jobs:
166169
env:
167170
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
168171
run: |
172+
conda activate upload
169173
conda install anaconda-client
170174
anaconda --token ${{ env.ANACONDA_TOKEN }} upload --user dppy --label dev ${{ env.PACKAGE_NAME }}-*.tar.bz2
171175
@@ -189,6 +193,7 @@ jobs:
189193
uses: conda-incubator/setup-miniconda@v2
190194
with:
191195
auto-update-conda: true
196+
auto-activate-base: true
192197
python-version: ${{ matrix.python }}
193198
miniconda-version: 'latest'
194199
activate-environment: 'upload'
@@ -197,5 +202,6 @@ jobs:
197202
env:
198203
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
199204
run: |
205+
conda activate upload
200206
conda install anaconda-client
201207
anaconda --token ${{ env.ANACONDA_TOKEN }} upload --user dppy --label dev ${{ env.PACKAGE_NAME }}-*.tar.bz2

0 commit comments

Comments
 (0)