File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 matrix :
1313 # Use these Java versions
1414 java : [21]
15- # and run on both Linux and Windows
16- os : [ubuntu-22.04, windows-2022]
17- runs-on : ${{ matrix.os }}
15+ runs-on : ubuntu-22.04
1816 steps :
1917 - name : checkout repository
2018 uses : actions/checkout@v4
@@ -26,12 +24,11 @@ jobs:
2624 java-version : ${{ matrix.java }}
2725 distribution : ' microsoft'
2826 - name : make gradle wrapper executable
29- if : ${{ runner.os != 'Windows' }}
3027 run : chmod +x ./gradlew
3128 - name : build
3229 run : ./gradlew chiseledBuild
3330 - name : capture build artifacts
34- if : ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
31+ if : ${{ matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
3532 uses : actions/upload-artifact@v4
3633 with :
3734 name : Artifacts
You can’t perform that action at this time.
0 commit comments