upload report for PkgEvalJob JuliaLang/julia@27bc777 vs. JuliaLang/ju… #1002
This file contains 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: GitHub pages | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '19' | |
- name: Generate PkgEval badges | |
run: | | |
npm install ./tools/pkgeval_badges | |
node tools/pkgeval_badges/src/cli.js public/pkgeval_badges | |
- name: Set up Julia | |
uses: julia-actions/setup-julia@v1 | |
with: | |
version: '1.9' | |
- name: Analyse PkgEval data | |
run: | | |
julia --project=tools/pkgeval_analysis -e 'using Pkg; Pkg.instantiate()' | |
julia --project=tools/pkgeval_analysis tools/pkgeval_analysis/main.jl public | |
env: | |
GKSwstype: "nul" | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./public |