mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
6f8680cd70
* Bump the actions group with 2 updates Bumps the actions group with 2 updates: [actions/download-artifact](https://github.com/actions/download-artifact) and [actions/upload-artifact](https://github.com/actions/upload-artifact). Updates `actions/download-artifact` from 3 to 4 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) Updates `actions/upload-artifact` from 3 to 4 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> * Bump to `actions/upload-artifact@v4` --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
name: 'Build Jupyter Notebook'
|
|
description: 'Build Jupyter Notebook from source'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Base Setup
|
|
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
|
|
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: |
|
|
python -m pip install hatch
|
|
|
|
- name: Build pypi distributions
|
|
shell: bash
|
|
run: |
|
|
hatch build
|
|
|
|
- name: Build npm distributions
|
|
shell: bash
|
|
run: |
|
|
mkdir pkgs
|
|
hatch run npm_pack
|
|
cp packages/*/*.tgz pkgs
|
|
|
|
- name: Build checksum file
|
|
shell: bash
|
|
run: |
|
|
cd dist
|
|
sha256sum * | tee SHA256SUMS
|
|
cd ../pkgs
|
|
sha256sum * | tee SHA256SUMS
|
|
|
|
- name: Upload distributions
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: notebook-dist-${{ github.run_number }}
|
|
path: ./dist
|
|
|
|
- name: Upload distributions
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: notebook-pkgs-${{ github.run_number }}
|
|
path: ./pkgs
|