@@ -112,42 +112,9 @@ jobs:
112112 - name : upload artifacts
113113 uses : actions/upload-artifact@v3
114114 with :
115+ name : conda
115116 path : conda
116- # - name: upload windows
117- # env:
118- # ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
119- # if: matrix.os == 'windows-latest'
120- # shell: bash -l {0}
121- # run: |
122- # anaconda upload --label main conda/win-64/*.tar.bz2
123- # - name: upload linux
124- # env:
125- # ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
126- # if: matrix.os == 'ubuntu-latest'
127- # shell: bash -l {0}
128- # run: |
129- # anaconda upload --label main conda/linux-64/*.tar.bz2
130- # - name: upload macosx
131- # env:
132- # ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
133- # if: matrix.os == 'macos-latest'
134- # shell: bash -l {0}
135- # run: |
136- # anaconda upload --label main conda/osx-64/*.tar.bz2
137- # docker-deploy:
138- # needs: release-please
139- # if: ${{ needs.release-please.outputs.release_created }}
140- # runs-on: ubuntu-latest
141- # steps:
142- # - uses: actions/checkout@master
143- # - name: Publish to Registry
144- # uses: elgohr/Publish-Docker-Github-Action@master
145- # with:
146- # name: loop3d/loopstructural
147- # username: ${{ secrets.DOCKERHUB_USERNAME }}
148- # password: ${{ secrets.DOCKERHUB_PASSWORD }}
149- # dockerfile: Dockerfile
150- # tags: "latest,${{ env.STATE_RELEASE_VERSION }}"
117+
151118
152119 make_sdist :
153120 needs : ["documentation-test", "continuous-integration"]
@@ -163,6 +130,7 @@ jobs:
163130
164131 - uses : actions/upload-artifact@v3
165132 with :
133+ name : dist
166134 path : dist/*.tar.gz
167135
168136 build_wheels :
@@ -184,6 +152,7 @@ jobs:
184152 CIBW_BEFORE_BUILD : " pip install numpy cython" # make sure numpy is the same version as required by LS
185153 - uses : actions/upload-artifact@v3
186154 with :
155+ name : wheelhouse
187156 path : ./wheelhouse/*.whl
188157
189158 upload_to_pypi :
@@ -193,8 +162,16 @@ jobs:
193162 steps :
194163 - uses : actions/download-artifact@v3
195164 with :
196- name : artifact
165+ name : dist
197166 path : dist
167+ - uses : actions/download-artifact@v3
168+ with :
169+ name : conda
170+ path : conda
171+ - uses : actions/download-artifact@v3
172+ with :
173+ name : wheelhouse
174+ path : wheelhouse
198175 - uses : pypa/gh-action-pypi-publish@v1.5.0
199176 with :
200177 user : ${{ secrets.PYPI_USERNAME }}
0 commit comments