forked from jupyter/nbgrader
-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (31 loc) · 984 Bytes
/
check-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Check Release
on:
push:
branches: ["master"]
pull_request:
branches: ["*"]
jobs:
check_release:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
group: [check_release, link_check]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Check Release
if: ${{ matrix.group == 'check_release' }}
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Link Check
if: ${{ matrix.group == 'link_check' }}
uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1
- name: Upload Distributions
uses: actions/upload-artifact@v2
with:
name: nbgrader-jupyter-releaser-dist-${{ github.run_number }}
path: .jupyter_releaser_checkout/dist