File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 2525 java-version : ' 17'
2626 distribution : ' adopt'
2727
28- # Step 3: Cache Maven dependencies to speed up future builds
28+ # Step 3: Install Maven 3.9.9
29+ - name : Install Maven 3.9.9
30+ run : |
31+ wget https://downloads.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz
32+ tar -xvzf apache-maven-3.9.9-bin.tar.gz
33+ sudo mv apache-maven-3.9.9 /opt/maven
34+ sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn
35+
36+ # Step 4: Verify Maven installation
37+ - name : Verify Maven version
38+ run : mvn --version
39+
40+ # Step 5: Cache Maven dependencies to speed up future builds
2941 - name : Cache Maven dependencies
3042 uses : actions/cache@v3
3143 with :
3446 restore-keys : |
3547 ${{ runner.os }}-maven
3648
37- # Step 4 : Run Maven to execute Playwright tests
49+ # Step 6 : Run Maven to execute Playwright tests
3850 - name : Run Playwright Tests
39- run : mvn verify
51+ run : mvn verify
You can’t perform that action at this time.
0 commit comments