parent
3e75f329c3
commit
1fdfa39622
@ -1,36 +1,37 @@
|
||||
name: Check Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*"
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches:
|
||||
- "*"
|
||||
|
||||
permissions:
|
||||
contents:
|
||||
write
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
check_release:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
group: [check_release, link_check]
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Base Setup
|
||||
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
|
||||
|
||||
- name: Upgrade packaging dependencies
|
||||
run: |
|
||||
pip install --upgrade jupyter-packaging~=0.10 --user
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
pip install .
|
||||
|
||||
pip install -e .
|
||||
- name: Check Release
|
||||
if: ${{ matrix.group == 'check_release' }}
|
||||
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version_spec: next
|
||||
- name: Check Links
|
||||
if: ${{ matrix.group == 'link_check' }}
|
||||
uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1
|
||||
|
||||
Loading…
Reference in new issue