Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build installers from 0.4.19 using updated constructor stack #113

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 22 additions & 21 deletions .github/workflows/make_bundle_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
packages:
name: Create packages
runs-on: ubuntu-latest
if: startsWith(github.repository, 'napari')
if: false
# startsWith(github.repository, 'napari')
env:
conda_bld_suffix: /napari-feedstock/build_artifacts/
outputs:
Expand Down Expand Up @@ -221,7 +222,7 @@ jobs:
contents: write
name: Bundle ${{ matrix.target-platform }}
runs-on: ${{ matrix.os }}
needs: [packages, prepare_matrix]
needs: [prepare_matrix]
if: startsWith(github.repository, 'napari')
strategy:
fail-fast: false
Expand Down Expand Up @@ -272,24 +273,24 @@ jobs:
run: |
python -m pip install -e . --no-deps

- name: Download local build artifacts (napari)
uses: actions/download-artifact@v3
with:
name: ${{ needs.packages.outputs.artifact-id }}
path: ${{ env.CONDA_BLD_PATH }}/noarch

- name: Index local packages (if any)
shell: bash -el {0}
working-directory: napari-packaging
run: |
pkgs=$(shopt -s nullglob dotglob; echo "${CONDA_BLD_PATH}/noarch/*.tar.bz2" "${CONDA_BLD_PATH}/noarch/*.conda")
if (( ${#pkgs} )); then
conda index "${CONDA_BLD_PATH}"
conda search -c local --override-channels
echo CONSTRUCTOR_USE_LOCAL=1 >> $GITHUB_ENV
else
echo "No local packages found, assuming latest release"
fi
# - name: Download local build artifacts (napari)
# uses: actions/download-artifact@v3
# with:
# name: ${{ needs.packages.outputs.artifact-id }}
# path: ${{ env.CONDA_BLD_PATH }}/noarch

# - name: Index local packages (if any)
# shell: bash -el {0}
# working-directory: napari-packaging
# run: |
# pkgs=$(shopt -s nullglob dotglob; echo "${CONDA_BLD_PATH}/noarch/*.tar.bz2" "${CONDA_BLD_PATH}/noarch/*.conda")
# if (( ${#pkgs} )); then
# conda index "${CONDA_BLD_PATH}"
# conda search -c local --override-channels
# echo CONSTRUCTOR_USE_LOCAL=1 >> $GITHUB_ENV
# else
# echo "No local packages found, assuming latest release"
# fi

- name: get tag / arch-suffix / extension / artifact-name / conda-standalone
shell: bash -el {0}
Expand Down Expand Up @@ -486,7 +487,7 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v3
# CI artifact uploads only on manual runs
if: inputs.event_name == 'workflow_dispatch' || github.event_name == 'workflow_dispatch'
# if: inputs.event_name == 'workflow_dispatch' || github.event_name == 'workflow_dispatch'
with:
name: napari-${{ env.version }}-${{ runner.os }}-${{ env.arch-suffix }}.${{ env.extension }}
path: ${{ github.workspace }}/napari-packaging/_work/napari-${{ env.version }}-${{ runner.os }}-${{ env.arch-suffix }}.${{ env.extension }}
Expand Down
Loading