|
61 | 61 | name: pypi_packages
|
62 | 62 | path: dist/*
|
63 | 63 |
|
64 |
| - build-n-publish-anaconda: |
65 |
| - name: Build and publish anaconda packages |
66 |
| - needs: lint_and_test |
67 |
| - runs-on: ubuntu-latest |
68 |
| - if: startsWith(github.ref, 'refs/tags/') |
69 |
| - |
70 |
| - steps: |
71 |
| - - uses: actions/checkout@v4 |
72 |
| - with: |
73 |
| - fetch-depth: 0 |
74 |
| - - uses: conda-incubator/setup-miniconda@v3 |
75 |
| - with: |
76 |
| - python-version: 3.9 |
77 |
| - miniforge-variant: Mambaforge |
78 |
| - - name: install dependencies build |
79 |
| - shell: bash -l {0} |
80 |
| - run: mamba install colorama pip ruamel ruamel.yaml rich jsonschema conda-verify anaconda-client |
81 |
| - - name: Build linux-64 conda package |
82 |
| - uses: prefix-dev/[email protected] |
83 |
| - with: |
84 |
| - recipe-path: "conda/recipe.yaml" |
85 |
| - build-args: "--experimental --target-platform linux-64" |
86 |
| - - name: Build osx-64 conda package |
87 |
| - uses: prefix-dev/[email protected] |
88 |
| - with: |
89 |
| - recipe-path: "conda/recipe.yaml" |
90 |
| - build-args: "--experimental --target-platform osx-64" |
91 |
| -# - name: Build osx-arm64 conda package |
92 |
| -# uses: prefix-dev/[email protected] |
93 |
| -# with: |
94 |
| -# recipe-path: "conda/recipe.yaml" |
95 |
| -# build-args: "--experimental --target-platform osx-arm64" |
96 |
| - - name: Upload conda package |
97 |
| - run: | |
98 |
| - for pkg in $(find output -type f \( -name "*.conda" -o -name "*.tar.bz2" \) ); do |
99 |
| - echo "Uploading ${pkg}" |
100 |
| - rattler-build upload anaconda -o mittagessen -a ${{ secrets.ANACONDA_TOKEN }} "${pkg}" |
101 |
| - done |
102 |
| - - name: Upload conda artifacts to GH storage |
103 |
| - uses: actions/upload-artifact@v4 |
104 |
| - with: |
105 |
| - name: conda_packages |
106 |
| - path: output/*/*.conda |
107 |
| - |
108 | 64 | autodraft-gh-release:
|
109 | 65 | name: Create github release
|
110 |
| - needs: [build-n-publish-anaconda, build-n-publish-pypi] |
| 66 | + needs: build-n-publish-pypi |
111 | 67 | runs-on: ubuntu-latest
|
112 | 68 |
|
113 | 69 | steps:
|
|
0 commit comments