File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1919 steps :
2020 - name : Checkout sources
2121 uses : actions/checkout@v4
22+
2223 - uses : actions/cache@v4
2324 with :
2425 path : |
2728 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
2829 restore-keys : |
2930 ${{ runner.os }}-gradle-
31+
32+ - name : Configure JDK
33+ uses : actions/setup-java@v3
34+ with :
35+ distribution : ' corretto'
36+ java-version : 17
37+ cache : ' gradle'
38+
3039 - name : Build and Test ${{ env.PACKAGE_NAME }}
3140 run : |
3241 python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
3948 steps :
4049 - name : Checkout sources
4150 uses : actions/checkout@v4
51+
4252 - uses : actions/cache@v4
4353 with :
4454 path : |
4757 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
4858 restore-keys : |
4959 ${{ runner.os }}-gradle-
60+
61+ - name : Configure JDK
62+ uses : actions/setup-java@v3
63+ with :
64+ distribution : ' corretto'
65+ java-version : 17
66+ cache : ' gradle'
67+
5068 - name : Build and Test ${{ env.PACKAGE_NAME }}
5169 run : |
5270 python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
5977 steps :
6078 - name : Checkout sources
6179 uses : actions/checkout@v4
80+
81+ - uses : actions/cache@v4
82+ with :
83+ path : |
84+ ~/.gradle/caches
85+ ~/.gradle/wrapper
86+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
87+ restore-keys : |
88+ ${{ runner.os }}-gradle-
89+
90+ - name : Configure JDK
91+ uses : actions/setup-java@v3
92+ with :
93+ distribution : ' corretto'
94+ java-version : 17
95+ cache : ' gradle'
96+
6297 - name : Build and Test ${{ env.PACKAGE_NAME }}
6398 run : |
6499 python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
You can’t perform that action at this time.
0 commit comments