File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 name : Build on ${{ matrix.os }}
1212 runs-on : ${{ matrix.os }}
1313 strategy :
14+ fail-fast : false # This prevents the Mac build from stopping if Linux fails
1415 matrix :
15- # This runs two builds in parallel
1616 os : [macos-latest, ubuntu-latest]
1717
1818 steps :
@@ -24,11 +24,13 @@ jobs:
2424 with :
2525 java-version : ' 25'
2626 distribution : ' oracle'
27- cache : ' ant'
27+ # Removed the ' cache: ant' line to fix the error
2828
29- - name : Install Ant
29+ - name : Install Linux Dependencies
3030 if : runner.os == 'Linux'
31- run : sudo apt-get update && sudo apt-get install -y ant fakeroot dpkg-dev
31+ run : |
32+ sudo apt-get update
33+ sudo apt-get install -y ant fakeroot dpkg-dev
3234
3335 - name : Run Ant Package
3436 run : ant package
3840 with :
3941 name : ${{ matrix.os }}-installer
4042 path : dist/*
41-
You can’t perform that action at this time.
0 commit comments