Bump actions/upload-artifact from 4 to 5 #977
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check Release | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["*"] | |
| permissions: | |
| contents: write | |
| jobs: | |
| check_release: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| group: [check_release, link_check] | |
| python-version: ["3.9"] | |
| node-version: ["14.x"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Base Setup | |
| uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
| - name: Install Dependencies | |
| run: | | |
| pip install -e . | |
| - name: Check Links | |
| if: ${{ matrix.group == 'link_check' }} | |
| uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1 | |
| with: | |
| ignore_links: "./api/index.html" | |
| - name: Check Release | |
| if: ${{ matrix.group == 'check_release' }} | |
| uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload Distributions | |
| if: ${{ matrix.group == 'check_release' }} | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: jupyter-releaser-dist-${{ github.run_number }} | |
| path: .jupyter_releaser_checkout/dist |