From a67bb8b2ff9d1f8115e888452fae1aca4c28cb68 Mon Sep 17 00:00:00 2001 From: krande Date: Tue, 1 Aug 2023 18:18:43 +0200 Subject: [PATCH] add platform specific anaconda uploads --- .github/workflows/ci-ifcopenshell-conda-daily.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-ifcopenshell-conda-daily.yml b/.github/workflows/ci-ifcopenshell-conda-daily.yml index c346375348..68ed777f10 100644 --- a/.github/workflows/ci-ifcopenshell-conda-daily.yml +++ b/.github/workflows/ci-ifcopenshell-conda-daily.yml @@ -3,7 +3,7 @@ name: ci-ifcopenshell-conda-daily-v0.8.0 on: push: branches: - - v0.8.0-compile-daily + - v0.8.0-pr-conda-daily jobs: activate: @@ -68,5 +68,11 @@ jobs: working-directory: ./conda - name: upload to anaconda + if: ${{ matrix.platform.name == 'win' }} run: | - anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force --user ${{ secrets.ANACONDA_USER }} --label dev ${{ github.workspace }}/dist/${{ matrix.pyver.pkg_dir }}/*.tar.bz2 \ No newline at end of file + anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force --user ifcopenshell --label dev '${{ github.workspace }}/dist/${{ matrix.platform.pkg_dir }}/*.tar.bz2' + + - name: upload to anaconda + if: ${{ matrix.platform.name != 'win' }} + run: | + anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force --user ifcopenshell --label dev ${{ github.workspace }}/dist/${{ matrix.platform.pkg_dir }}/*.tar.bz2 \ No newline at end of file