This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / .github / workflows / unmaintained-graph.yml
1.2 kB 50 lines
1name: unmaintained-graph 2 3# Renders the graph of packages without maintainers in all machines' closures 4# (tools/unmaintained-graph) and publishes it on GitHub Pages: 5# https://lassulus.github.io/superconfig/ 6on: 7 push: 8 branches: [master] 9 workflow_dispatch: 10 11permissions: 12 contents: read 13 pages: write 14 id-token: write 15 16# only the newest run needs to land 17concurrency: 18 group: pages 19 cancel-in-progress: true 20 21jobs: 22 build: 23 runs-on: ubuntu-latest 24 steps: 25 - uses: actions/checkout@v4 26 27 - uses: cachix/install-nix-action@v31 28 29 # 4 parallel evaluations peak around 5.5 GB, well within the 16 GB runner 30 - run: | 31 mkdir -p _site 32 nix run .#unmaintained-graph -- \ 33 --title "Unmaintained packages in superconfig @ ${GITHUB_SHA::8}" \ 34 -o _site/index.html 35 36 - uses: actions/upload-pages-artifact@v3 37 with: 38 path: _site 39 40 deploy: 41 needs: build 42 runs-on: ubuntu-latest 43 environment: 44 name: github-pages 45 url: ${{ steps.deployment.outputs.page_url }} 46 steps: 47 - id: deployment 48 uses: actions/deploy-pages@v4 49 50 - run: echo "Graph at ${{ steps.deployment.outputs.page_url }}" >> "$GITHUB_STEP_SUMMARY"