File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -20,21 +20,23 @@ jobs:
2020 runs-on : ubuntu-24.04
2121
2222 steps :
23- - name : Checkout repository
23+ - name : Checkout the repository
2424 uses : actions/checkout@v4
2525
2626 - name : Setup Java
27+ # see https://github.com/actions/setup-java#supported-distributions
28+ # note that this also deploys ant
2729 uses : actions/setup-java@v4
2830 with :
29- distribution : adopt
31+ distribution : ' adopt'
3032 java-version : ' 11'
3133
32- - name : Install Ant
34+ - name : before_install
3335 run : |
3436 tar -xzvf lib/apache-ant-1.10.6-bin.tar.gz
3537 echo "$(pwd)/apache-ant-1.10.6/bin" >> $GITHUB_PATH
3638
37- - name : Build site
39+ - name : script
3840 run : |
3941 mkdir -p output
4042 git clone --depth=1 --branch=gh-pages https://github.com/irdpl/wcag.git output
5355
5456 ant deploy
5557
58+ - name : Upload Artifact
59+ if : failure()
60+ uses : actions/upload-artifact@v4
61+ with :
62+ name : failed-artifact
63+ path : |
64+ ./output
65+
5666 - name : Upload Pages artifact
5767 uses : actions/upload-pages-artifact@v3
5868 with :
You can’t perform that action at this time.
0 commit comments