File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515jobs :
1616 build-linux :
17+ if : ${{ false }}
1718 runs-on : ubuntu-latest
1819 strategy :
1920 matrix :
Original file line number Diff line number Diff line change 66
77jobs :
88 analyze :
9+ runs-on : ubuntu-latest
10+
911 permissions :
1012 security-events : write
1113 packages : read
Original file line number Diff line number Diff line change 1212
1313jobs :
1414 build-linux :
15+ if : ${{ false }}
1516 runs-on : ubuntu-latest
1617 strategy :
1718 matrix :
Original file line number Diff line number Diff line change 2727jobs :
2828 # Build job
2929 build :
30+ if : ${{ false }}
3031 runs-on : ubuntu-latest
3132 steps :
3233 - name : Checkout
3940 with :
4041 path : docs-build-env.tar
4142 key : docs-docker-image-cache-${{ hashFiles('.github/workflows/Dockerfile.docs') }}
42-
43+
4344 - name : Build and save docker image
4445 if : steps.docker-image-cache.outputs.cache-hit != 'true'
4546 run : |
@@ -48,11 +49,11 @@ jobs:
4849 --cache-from=type=local,src=docs-build-img-cache
4950 docker tag docs-build-img docs-build-img-cache
5051 docker save docs-build-img-cache -o docs-build-env.tar
51-
52+
5253 - name : Load docker image from cache
5354 if : steps.docker-image-cache.outputs.cache-hit == 'true'
5455 run : docker load --input docs-build-env.tar
55-
56+
5657 - name : Start docker container
5758 run : |
5859 docker run -dt --name docs-build-container docs-build-img-cache
@@ -61,10 +62,10 @@ jobs:
6162 - name : Build site with Jekyll
6263 run : docker exec docs-build-container bash -c
6364 " cd /home/kitten/docs && bundle install && bundle exec jekyll build --baseurl ${{env.DOCS_SITE_BASE_URL}} --source /home/kitten/docs --destination /home/kitten/docs/_site --trace"
64-
65+
6566 - name : Prepare artifacts
6667 run : docker cp docs-build-container:/home/kitten/docs/_site $GITHUB_WORKSPACE/ && tree $GITHUB_WORKSPACE/_site
67-
68+
6869 - name : Upload artifact
6970 uses : actions/upload-pages-artifact@v3
7071 with :
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 build-macos :
13+ if : ${{ false }}
1314 runs-on : ${{matrix.os}}-14
1415 strategy :
1516 matrix :
Original file line number Diff line number Diff line change 1212
1313jobs :
1414 build-linux :
15+ if : ${{ false }}
1516 runs-on : ubuntu-latest
1617 strategy :
1718 matrix :
You can’t perform that action at this time.
0 commit comments