Skip to content

Commit 155d405

Browse files
committed
Added a plugin to set the github actions maven version
1 parent 9a5c2d9 commit 155d405

File tree

3 files changed

+28
-10
lines changed

3 files changed

+28
-10
lines changed

.github/workflows/playwright-tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
distribution: 'adopt'
2727

2828
# 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-
echo "export PATH=/opt/maven/bin:$PATH" >> $GITHUB_ENV
29+
- name: Setup Maven Action
30+
31+
with:
32+
checkout-fetch-depth: 0
33+
java-version: 17
34+
java-distribution: temurin
35+
maven-version: 3.9.9
3536

3637
# Step 4: Verify Maven installation
3738
- name: Verify Maven version

.idea/compiler.xml

Lines changed: 13 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)