@@ -171,46 +171,46 @@ jobs:
171
171
path : release_notes.md
172
172
173
173
# Build a package for distribution through Anaconda.org (conda install sasctl)
174
- build_conda :
175
- name : " Build Conda Package"
176
- runs-on : ubuntu-latest
177
- needs : test
178
- if : startsWith(github.ref, 'refs/tags/') # run only on tagged commits
179
-
180
- steps :
181
- # Setup Miniconda
182
- - uses : conda-incubator/setup-miniconda@v2
183
- with :
184
- auto-update-conda : true
185
-
186
- - name : Install conda-build
187
- shell : bash -l {0}
188
- run : |
189
- conda install conda-build
190
-
191
- - name : Checkout repository
192
- uses : actions/checkout@v3
193
-
194
- # Build package and store results in .build folder
195
- - name : Build package
196
- shell : bash -l {0}
197
- run : |
198
- conda build --output-folder .build .conda
199
-
200
- # Archive distribution files. Will upload in a downstream job.
201
- - name : Archive distribution artifacts
202
- uses : actions/upload-artifact@v4
203
- with :
204
- name : conda-dist
205
- path : .build
174
+ # build_conda:
175
+ # name: "Build Conda Package"
176
+ # runs-on: ubuntu-latest
177
+ # needs: test
178
+ # if: startsWith(github.ref, 'refs/tags/') # run only on tagged commits
179
+ #
180
+ # steps:
181
+ # # Setup Miniconda
182
+ # - uses: conda-incubator/setup-miniconda@v2
183
+ # with:
184
+ # auto-update-conda: true
185
+ #
186
+ # - name: Install conda-build
187
+ # shell: bash -l {0}
188
+ # run: |
189
+ # conda install conda-build
190
+ #
191
+ # - name: Checkout repository
192
+ # uses: actions/checkout@v3
193
+ #
194
+ # # Build package and store results in .build folder
195
+ # - name: Build package
196
+ # shell: bash -l {0}
197
+ # run: |
198
+ # conda build --output-folder .build .conda
199
+ #
200
+ # # Archive distribution files. Will upload in a downstream job.
201
+ # - name: Archive distribution artifacts
202
+ # uses: actions/upload-artifact@v4
203
+ # with:
204
+ # name: conda-dist
205
+ # path: .build
206
206
207
207
208
208
# Publishes the new package to PyPI, uploads the latest documentation to GitHub Pages
209
209
# and creates a new release with change notes on GitHub.
210
210
publish :
211
211
name : " Publish"
212
212
runs-on : ubuntu-latest
213
- needs : [gh-pages, build_pypi, build_conda ]
213
+ needs : [gh-pages, build_pypi]
214
214
215
215
steps :
216
216
- name : Download documentation
@@ -273,32 +273,32 @@ jobs:
273
273
# NOTE: could be merged with `publish` job above. Left as a separate, final job since it
274
274
# involves multiple steps to setup the environment and if this job fails, the package
275
275
# has already been made available through pip, and the release info published.
276
- upload_conda :
277
- name : " Upload Conda Package"
278
- runs-on : ubuntu-latest
279
- needs : [publish]
280
-
281
- steps :
282
- # Setup Miniconda
283
- - uses : conda-incubator/setup-miniconda@v2
284
- with :
285
- auto-update-conda : true
286
-
287
- # Setup Anaconda client (required for upload)
288
- - name : Install anaconda client
289
- shell : bash -l {0}
290
- run : |
291
- conda install anaconda-client
292
-
293
- # Download release files
294
- - name : Download release
295
- uses : actions/download-artifact@v4
296
- with :
297
- name : conda-dist
298
- path : ./dist
299
-
300
- # Upload release to Anaconda.org
301
- - name : Upload release
302
- shell : bash -l {0}
303
- run : |
304
- anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload -u sas-institute ./dist/noarch/sasctl-*.tar.bz2
276
+ # upload_conda:
277
+ # name: "Upload Conda Package"
278
+ # runs-on: ubuntu-latest
279
+ # needs: [publish]
280
+ #
281
+ # steps:
282
+ # # Setup Miniconda
283
+ # - uses: conda-incubator/setup-miniconda@v2
284
+ # with:
285
+ # auto-update-conda: true
286
+ #
287
+ # # Setup Anaconda client (required for upload)
288
+ # - name: Install anaconda client
289
+ # shell: bash -l {0}
290
+ # run: |
291
+ # conda install anaconda-client
292
+ #
293
+ # # Download release files
294
+ # - name: Download release
295
+ # uses: actions/download-artifact@v4
296
+ # with:
297
+ # name: conda-dist
298
+ # path: ./dist
299
+ #
300
+ # # Upload release to Anaconda.org
301
+ # - name: Upload release
302
+ # shell: bash -l {0}
303
+ # run: |
304
+ # anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload -u sas-institute ./dist/noarch/sasctl-*.tar.bz2
0 commit comments